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));
?>
$json = '{"a":1,"b":2,"c":3}';
var_dump(json_decode($json)); //converts json to array
$array = [ "a" => 1, "b" => 2, "c" => 3];
echo json_encode($json_encode($json)); //converts array to json
JSON.parse(jsonToDecode)
$obj = json_decode("{string:'string'}");
$value = '{"Name" : "Tamer"}';
json_decode($value);