# JSON **Published by:** [sanmazi](https://paragraph.com/@sanmazi/) **Published on:** 2022-03-11 **URL:** https://paragraph.com/@sanmazi/json ## Content 支持类型简单值: 字符串,数值,布尔,null. undefined不可以; 对象, 数组注意点:字符串必须使用双引号对象的属性名使用双引号对象与方法JSON.stringfy(obj): 序列化对象,得到json字符串. JSON.parse() 对象的toJSON()方法. ## Publication Information - [sanmazi](https://paragraph.com/@sanmazi/): Publication homepage - [All Posts](https://paragraph.com/@sanmazi/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@sanmazi): Subscribe to updates - [Twitter](https://twitter.com/harry03994688): Follow on Twitter