Attempts to parse a string as JSON.
string to parse
transformation function
parsed value or parse error
var obj = parseJSON( '{"beep":"boop"}' ); // returns {'beep':'boop'}
Attempts to parse a string as JSON.