Construct an attribute-dispatcher with the specified attributes.
Declared in <baljsn_encodeimplutil.h>
EncodeImplUtil_AttributeDispatcher(
FORMATTER* formatter,
std::ostream* logStream,
std::string_view const& attributeName,
FormattingMode formattingMode,
bool isNextAttributeFirst,
EncoderOptions const& options);
Construct an EncodeImplUtil_AttributeDispatcher object having the specified formatter, logStream, attributeName, formattingMode, isNextAttributeFirst, and options attributes.
| Name | Description |
|---|---|
| formatter | JSON formatter that receives the encoded tokens |
| logStream | stream for human-readable error descriptions |
| attributeName | name of the attribute |
| formattingMode | formatting-mode bit-field for the attribute |
| isNextAttributeFirst | if true, omit a leading delimiter |
| options | encoding options |