Примеры для jQuery.parseJSON()


Parse a JSON string.

1
2
var obj = jQuery.parseJSON( '{ "name": "John" }' );
alert( obj.name === "John" );