摘要: 1. var jsonStr = '{"a": 1, "b": "string", "c": [1, "11"]}'; console.log(typeof(jsonStr)); // string var json = $.parseJSON(jsonStr); console.log(typeof(json)); // object console.log(json.c); // [1, "... 阅读全文
posted @ 2018-04-15 18:11 yoyo198212 阅读(67) 评论(0) 推荐(0) 编辑