json、obj转换

obj = JSON.parse('json字符串');

json字符串 = JSON.stringify(obj);

 

posted @ 2020-03-10 16:17  一颗糊涂淡  阅读(578)  评论(0编辑  收藏  举报