Subscript operators
Synopses
Declared in <bdljsn_json.h>
Return a modifiable reference to the member associated with key.
Json&
operator[](std::string_view const& key);
Return a non‐modifiable reference to the member associated with key.
Json const&
operator[](std::string_view const& key) const;
Return Value
-
modifiable reference to the member associated with
key -
a non‐modifiable reference to the element at the specified position
Parameters
Name |
Description |
key |
UTF‐8 member name |
Created with MrDocs