标签:解析 csdn title object 必须 code ons name ade
http://blog.csdn.net/wangxiaohu__/article/details/7254598
parse用于从一个字符串中解析出json对象,如
var str = ‘{"name":"huangxiaojian","age":"23"}‘
结果:
JSON.parse(str)
var a = {a:1,b:2}
结果:
JSON.stringify(a)
"{"a":1,"b":2}"
标签:解析 csdn title object 必须 code ons name ade
原文地址:http://www.cnblogs.com/ZkbFighting/p/7979201.html