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

Name

Description

formatter

JSON formatter that receives the encoded tokens

logStream

stream for human‐readable error descriptions

selectionName

name of the selection

formattingMode

formatting‐mode bit‐field for the selection

isNextObjectFirst

if true, omit a leading sequence delimiter

options

encoding options

Created with MrDocs