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);

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);

Parameters

Name

Description

formattingStyle

whether to format the array as empty

name

member name for the array

Created with MrDocs