find an element in a JSON object

Synopsis

Declared in <nlohmann/json.hpp>

iterator
find(object_t::key_type const& key);

Return Value

iterator to the element with the given key, or end() if not found

Parameters

Name

Description

key

key of the element to find

Created with MrDocs