Indicate that there are no more elements to be added to the current array. The specified formatAsEmptyArray is ignored; arrays are unconditionally formatted.
formatAsEmptyArray
Declared in <baljsn_jsonformatter.h>
<baljsn_jsonformatter.h>
void closeArray(bool formatAsEmptyArray = false);