js中将自己拼的json字符串转为json对象

 var jsonObj = JSON.parse( jsonStr );

  

原文地址:https://www.cnblogs.com/unique1319/p/7554973.html