Parses a JSON string and throws the SDK JsonParseError on failure.
JsonParseError
JSON string to parse.
Optional
Optional error message used when parsing fails.
Parsed JSON object.
If the value is not valid JSON.
Parses a JSON string and throws the SDK
JsonParseErroron failure.