BloombergLP::baljsn::JsonFormatter::openArray

Create a new array. Subsequently created elements will land in this array (in order of creation) until closeArray is called. The elements can be created by putValue/putNullValue/openObject/openArray. The specified formatAsEmptyArray is ignored; arrays are unconditionally formatted.

Synopsis

Declared in <baljsn_jsonformatter.h>

void
openArray(bool formatAsEmptyArray = false);