find an element in a JSON object
Declared in <nlohmann/json.hpp>
template<class KeyType>
requires detail::is_usable_as_basic_json_key_type<basic_json_t, KeyType>::value
iterator
find(KeyType&& key);
iterator to the element with the given key, or end() if not found
| Name | Description |
|---|---|
| key | key of the element to find |