Parses a JSON string and returns the corresponding object.
The JSON string to parse.
The value to return if parsing fails.
The parsed object or the error value.
Parses a JSON string and returns the corresponding object.