...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Reset the serializer for a new element.
void
reset(
string
const* p) noexcept;
This function prepares the serializer to emit a new serialized JSON representing
*p
.
Any internally allocated memory is preserved and re-used for the new
output.
Name |
Description |
---|---|
|
A pointer to the element to serialize. Ownership is not transferred;
The caller is responsible for ensuring that the lifetime of
|