[#BloombergLP-baljsn-JsonFormatter-closeArray] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonFormatter.adoc[JsonFormatter]::closeArray :relfileprefix: ../../../ :mrdocs: Indicate that there are no more elements to be added to the current array. The specified `formatAsEmptyArray` is ignored; arrays are unconditionally formatted. == Synopsis Declared in `<baljsn_jsonformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void closeArray(bool formatAsEmptyArray = false); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#