[#BloombergLP-bdljsn-JsonObject-clear]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]::clear
:relfileprefix: ../../../
:mrdocs:

Remove all entries from this `JsonObject`&period; Note that this `JsonObject` will be empty after calling this method, but allocated memory may be retained for future use&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

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


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