JSON

  

JSON.parse(str)

JSON.stringify(json)

 

⚠️: 字符串类型,不允许( .键名)  的方式。

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 jq 的 ajax 的 datatype 默认 json格式。

 

posted @ 2020-07-15 14:55  CatherLee  阅读(125)  评论(0编辑  收藏  举报