Return an iterator to the member with the specified key.

Synopsis

Declared in <bdljsn_json.h>

JsonObject::Iterator
find(std::string_view const& key);

Description

Return an iterator providing modifiable access to the Member object in this JsonObject with a key equivalent to the specified key, if such an entry exists, and the past‐the‐end iterator (end) otherwise.

Return Value

iterator to the member with the specified key

Parameters

Name

Description

key

UTF‐8 member name

Created with MrDocs