JSON字符串对象相互转换

JSON.parse()    - >将字符串转成json对象。

JSON.stringify()  - > 将对象、数组转换成字符串

 

posted @ 2019-02-10 19:00  阿|明  阅读(111)  评论(0编辑  收藏  举报