标签:style blog http color io os ar for sp
转载:http://blog.csdn.net/wangxiaohu__/article/details/7254598
var str = ‘{"name":"huangxiaojian","age":"23"}‘
结果:
JSON.parse(str)
stringify()用于从一个对象解析出字符串,如
var a = {a:1,b:2}
结果:
JSON.stringify(a)
"{"a":1,"b":2}"
标签:style blog http color io os ar for sp
原文地址:http://www.cnblogs.com/bfy-19/p/4018516.html