[#BloombergLP-baljsn-JsonFormatter-openArray] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonFormatter.adoc[JsonFormatter]::openArray :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void openArray(bool formatAsEmptyArray = false); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#