Print the characters that end a JSON object onto the output stream.
Declared in <baljsn_formatter.h>
void
closeObject();
Print onto the stream supplied at construction the sequence of characters designating the end of an object (referred to as an "object" in JSON). The behavior is undefined unless this Formatter is currently formatting an object.