Return the parsed JSON as a
This returns the parsed value, or throws an exception if the parsing is
incomplete or failed. It is necessary to call
reset after calling this function
in order to parse another JSON.
The parsed value. Ownership of this value is transferred to the caller.
Thrown on failure.