This class implements a formatter mechanism that assembles a (potentially complicated) bdljsn::Json object according to the invocations of the formatter's manipulators.
Synopsis
Declared in <baljsn_jsonformatter.h>
class JsonFormatter;
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. The specified |
|
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. Note that if no allocator was supplied at construction the default allocator in effect at construction is used. |
|
No‐op. Return 0. |
|
Create a new array. Subsequently created elements will land in this array (in order of creation) until |
|
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 value of the current array element or object value ‐‐ depending on the context ‐‐ to |
|
Set the value of the current scalar, array element, or object value ‐‐ depending on the context ‐‐ to the specified |
Data Members
Name |
Description |
Allocator used to supply memory. |
|
The |
Created with MrDocs