BloombergLP::baljsn::EncodeImplUtil_SelectionDispatcher::EncodeImplUtil_SelectionDispatcher

Construct an EncodeImplUtil_SelectionDispatcher object having the specified formatter, logStream, and options attributes.

Synopsis

Declared in <baljsn_encodeimplutil.h>

EncodeImplUtil_SelectionDispatcher(
    FORMATTER* formatter,
    std::ostream* logStream,
    std::string_view const& selectionName,
    FormattingMode formattingMode,
    bool isNextObjectFirst,
    EncoderOptions const& options);

Parameters

NameDescription
formatterJSON formatter that receives the encoded tokens
logStreamstream for human-readable error descriptions
selectionNamename of the selection
formattingModeformatting-mode bit-field for the selection
isNextObjectFirstif true, omit a leading sequence delimiter
optionsencoding options