[#nlohmann-basic_json-0c-clear]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0c.adoc[basic&lowbar;json]::clear
:relfileprefix: ../../
:mrdocs:

clears the contents

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

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


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