access specified object element
Synopsis
Declared in <nlohmann/json.hpp>
template<class KeyType>
requires detail::is_usable_as_basic_json_key_type<basic_json_t, KeyType>::value
const_reference
operator[](KeyType&& key) const;
Return Value
the type of an element const reference
Parameters
Name |
Description |
key |
The right operand |
Created with MrDocs