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" );
原文地址:https://www.cnblogs.com/linzheng/p/1888168.html