Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit c89e626766.
PrevUpHomeNext
stream_parser::release

Return the parsed JSON as a value.

Synopsis
value
release();
Description

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.

Effects
if( ! this->done() )
    this->finish();
Remarks
Complexity

Constant.

Return Value

The parsed value. Ownership of this value is transferred to the caller.

Exceptions

Type

Thrown On

boost::system::system_error

Thrown on failure.


PrevUpHomeNext