Create a new array for subsequently added elements.

Synopsis

Declared in <baljsn_jsonformatter.h>

void
openArray(bool formatAsEmptyArray = false);

Description

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.

Parameters

Name

Description

formatAsEmptyArray

ignored; arrays are unconditionally formatted

Created with MrDocs