js对象与字符串的想到转换

js

JSON.stringify(jsObj);   对象转字符串
JSON.parse(str);  字符串转对象

posted @ 2018-04-30 14:35  泽锦  阅读(371)  评论(0)    收藏  举报