JSON.parse()和JSON.stringify()
摘要:
1.JSON.parse() 用于从一个字符串中解析出json 对象。例如 var str = '{"name":"cpf","age":"23"}' 经 JSON.parse(str) 得到: Object: age:"23" name:"cpf" _proto_:Obj... 阅读全文
posted @ 2015-10-09 15:42 曙光XK 阅读(96) 评论(0) 推荐(0) 编辑