function mapToJson(map) { return JSON.stringify([...map]); } function jsonToMap(jsonStr) { return new Map(JSON.parse(jsonStr)); }.
確定! 回上一頁