[#nlohmann-basic_json-05-find-04d]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-05.adoc[basic&lowbar;json&lt;&gt;]::find
:relfileprefix: ../../
:mrdocs:

find an element in a JSON object

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class KeyType&gt;
requires detail&colon;&colon;is&lowbar;usable&lowbar;as&lowbar;basic&lowbar;json&lowbar;key&lowbar;type&lt;basic&lowbar;json&lowbar;t, KeyType&gt;&colon;&colon;value
xref:nlohmann/basic_json-05/iterator.adoc[iterator]
find(KeyType&& key);
----

== Return Value

an iterator for a basic&lowbar;json container


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