jQuery.parseJSON( json ) 将字符串转化为json对象
http://api.jquery.com/jQuery.parseJSON/
Example:
Parse a JSON string.
var obj = jQuery.parseJSON('{"name":"John"}');
alert( obj.name === "John" );
posted on 2010-11-25 22:11 linzheng 阅读(20283) 评论(2) 编辑 收藏 举报