Formatter that assembles a bdljsn::Json object via manipulators.
Synopsis
Declared in <baljsn_jsonformatter.h>
class JsonFormatter;
Description
This class implements a formatter mechanism that assembles a (potentially complicated) bdljsn::Json object according to the invocations of the formatter's manipulators.
Type Aliases
Name |
Description |
Type of the allocator used to supply memory. |
Member Functions
Name |
Description |
|
Create a |
No‐op. |
|
Indicate that there are no more elements to be added to the current array. |
|
Indicate that there are no more members to be added to the current object. |
|
Indicate that there are no more members to be added to the current object. |
|
Print the internal stack of |
|
Return the allocator used by this object to supply memory. |
|
No‐op. Return 0. |
|
Create a new array for subsequently added elements. |
|
Create a new object member having the specified |
|
Create a new object (set of name/value pairs also know as "members"). Note subsequently created members will land in this object until |
|
Set the current array element or object value to null. |
|
Set the current scalar, array element, or object member to |
Data Members
Name |
Description |
Allocator used to supply memory. |
|
The |
Created with MrDocs