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

Return whether this formatter has produced complete JSON&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isCompleteJSON() const;
----

== Description

Return `true` if this `SimpleFormatter` has formatted a complete JSON object, where all `open&ast;` calls have been balanced by their corresponding `close&ast;` calls&period; Note that a default&hyphen;constructed `SimpleFormatter` will return `false` &hyphen; an empty string is not valid JSON&period;

== Return Value

`true` if a complete JSON value has been formatted, and `false` otherwise


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