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