jsondecode in jquery code example Example: json_decode jquery var obj = jQuery.parseJSON( '{ "name": "John" }' ); alert( obj.name === "John" );