JS json对象(Object)和字符串(String)互转方法

[JS json对象(Object)和字符串(String)互转方法] 参考:https://blog.csdn.net/wenqianla2550/article/details/78232706

string -> jsonObj JSON.parse(jsonString);
jsonObj -> string JSON.stringify(jsArr);
记录一下

猜你喜欢

转载自www.cnblogs.com/d-i-p/p/11025164.html