BloombergLP::baljsn::SimpleFormatter::openArray

openArray overloads

Synopses

Declared in <baljsn_simpleformatter.h>

Print the characters that start a JSON array onto the output stream.

void
openArray(ArrayFormattingStyle formattingStyle = e_REGULAR_ARRAY_FORMAT);
» more...

Print the start of a named JSON array onto the output stream.

void
openArray(
    std::string_view const& name,
    ArrayFormattingStyle formattingStyle = e_REGULAR_ARRAY_FORMAT);
» more...

Parameters

NameDescription
formattingStylewhether to format the array as empty
namemember name for the array