...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return the parsed JSON as a value
.
value release();
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 text.
if( ! this->done() ) this->finish();
Constant.
The parsed value. Ownership of this value is transferred to the caller.
Type |
Thrown On |
---|---|
|
Thrown on failure. |