1,
JSON转JavaScript
JSON.parse():https://www.runoob.com/json/json-parse.html
2,
JavaScript转JSON
JSON.stringify():https://www.runoob.com/json/json-stringify.html
3,
var sdata = JSON.parse(JSON.stringify(data));
1,
JSON转JavaScript
JSON.parse():https://www.runoob.com/json/json-parse.html
2,
JavaScript转JSON
JSON.stringify():https://www.runoob.com/json/json-stringify.html
3,
var sdata = JSON.parse(JSON.stringify(data));
转载于:https://www.cnblogs.com/yang101/p/11621686.html