[#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`. Note that this `JsonObject` will be empty after calling this method, but allocated memory may be retained for future use. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void clear() noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#