Hier ist ein Auszug aus jQuery 1.9.1 :
parseJSON: function( data ) {
if ( window.JSON && window.JSON.parse ) {
return window.JSON.parse( data );
}
if ( data === null ) {
return data;
}
if ( typeof data === "string" ) {
data = jQuery.trim( data );
if ( data ) {
if ( rvalidchars.test( data.replace( rvalidescape, "@" )
.replace( rvalidtokens, "]" )
.replace( rvalidbraces, "")) ) {
return ( new Function( "return " + data ) )();
}
}
}
jQuery.error( "Invalid JSON: " + data );
},
Wie Sie sehen können, verwendet jQuery die native JSON.parseMethode, wenn sie verfügbar ist, und versucht andernfalls, die Daten mit auszuwerten new Function, was ähnlich ist eval.
Also ja, du solltest es definitiv benutzen jQuery.parseJSON.