This class implements a formatter providing operations for rending JSON text elements to an output stream (supplied at construction) according to a set of formatting options (also supplied at construction). This is a component‐private class and should not be used outside of this component.
Synopsis
Declared in <baljsn_encoder.h>
class Encoder_Formatter;
Description
DEPRECATED: Use baljsn::Formatter instead.
Member Functions
Name |
Description |
|
Create a |
Print onto the stream supplied at construction the sequence of characters designating the end of an array. Optionally specify |
|
Print onto the stream supplied at construction the sequence of characters designating the end of the document. |
|
Print onto the stream supplied at construction the sequence of characters designating the end of an element. |
|
Print onto the stream supplied at construction the sequence of characters designating the end of an object. |
|
Print onto the stream supplied at construction the sequence of whitespace characters for the proper indentation of an element given the encoding options supplied at construction. |
|
Return the value of the flag denoting if the current element refers to an array element. |
|
Print onto the stream supplied at construction the sequence of characters designating the start of an array. Optionally specify |
|
Print onto the stream supplied at construction the sequence of characters designating the start of the document. |
|
Print onto the stream supplied at construction the sequence of characters designating the start of an element having the specified |
|
Print onto the stream supplied at construction the sequence of characters designating the start of an object. |
|
Set the flag denoting if the current element refers to an array element to the specified |
Created with MrDocs