js | js中json的处理

字符串转json

JSON.parse(str);

json转字符串

JSON.stringify(myObj);

posted @ 2021-09-28 09:26  Mz1  阅读(67)  评论(0)    收藏  举报