Ajax Resoncon Json Decode Undefined

var obj = jQuery.parseJSON( '{ "name": "John" }' );
alert( obj.name === "John" );
Sergiu The Man