json_decode jquery
var obj = jQuery.parseJSON( '{ "name": "John" }' );
alert( obj.name === "John" );
Sergiu The Man
var obj = jQuery.parseJSON( '{ "name": "John" }' );
alert( obj.name === "John" );
<?php
$json = '{"a":1,"b":2,"c":3,"d":4,"e":5}';
var_dump(json_decode($json));
var_dump(json_decode($json, true));
?>