Encode a JSON object-close token when formattingMode is tagged.
Declared in <baljsn_encodeimplutil.h>
static
void
encodeObjectSuffix(
bool* isSuffixEmpty,
FORMATTER* formatter,
FormattingMode formattingMode);
If the specified formattingMode does not have the bdlat_FormattingMode::e_UNTAGGED bit set, encode a "right brace" JSON token to the specified formatter, and encoding nothing to the formatter otherwise. If this operation encodes a token to the formatter, load the value false to the specified isSuffixEmpty, and the value true otherwise.
| Name | Description |
|---|---|
| isSuffixEmpty | receives whether no suffix token was encoded |
| formatter | JSON formatter that receives the encoded tokens |
| formattingMode | formatting-mode bit-field for the object |