javascript 对象和字符串互转

Object  =>  String :  

 1 console.log(JSON.stringify(e)); 

String => Object : 

 1 JSON.parse(str) 

posted @ 2017-08-09 22:54  GoodByeZ  阅读(141)  评论(0)    收藏  举报