var data = "{'name': '张三', 'age': 23, 'gender': true}"; //json字符串
var jso  = JSON.parse(data);  // js将data解析成了json对象

 

相关文章: