我想开始使用ES6 Map而不是JS对象,但我被阻止了,因为我无法弄清楚如何使用JSON.stringify()一个Map.我的密钥保证是字符串,我的值将始终是列表.我是否真的必须编写一个包装器方法来序列化?
javascript json dictionary ecmascript-6
dictionary ×1
ecmascript-6 ×1
javascript ×1
json ×1