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 7789ef3d8d.
PrevUpHomeNext
serializer::serializer (2 of 3 overloads)

Constructor.

Synopsis
serializer(
    serialize_options const& opts = {});
Description

This constructs a serializer with no value. The value may be set later by calling reset. If serialization is attempted with no value, the output is as if a null value is serialized.

Complexity

Constant.

Exception Safety

No-throw guarantee.

Parameters

Name

Description

opts

The options for the serializer. If this parameter is omitted, the serializer will output only standard JSON.


PrevUpHomeNext