[#BloombergLP-baljsn-SimpleFormatter-closeObject]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/SimpleFormatter.adoc[SimpleFormatter]::closeObject
:relfileprefix: ../../../
:mrdocs:

Print the characters that end a JSON object onto the output stream&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;simpleformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
closeObject();
----

== Description

Print onto the stream supplied at construction the sequence of characters designating the end of an object (referred to as an &quot;object&quot; in JSON)&period; The behavior is undefined unless `isNameNeeded()` is `true`&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
