[#nlohmann-basic_json-0e-find-05] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-0e.adoc[basic_json<>]::find :relfileprefix: ../../ :mrdocs: find an element in a JSON object == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class KeyType> requires detail::is_usable_as_basic_json_key_type<basic_json_t, KeyType>::value xref:nlohmann/basic_json-0e/iterator.adoc[iterator] find(KeyType&& key); ---- == Return Value an iterator for a basic_json container [.small]#Created with https://www.mrdocs.com[MrDocs]#