[#bsl-unordered_map-0bf-operator_subs-02] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-0bf.adoc[unordered_map<basic_string<char>, Json, TransparentHash, TransparentEqualTo>]::operator[] :relfileprefix: ../../ :mrdocs: Return a reference providing modifiable access to the mapped‐value associated with the specified `key` in this unordered map; if this unordered map does not already contain a `value_type` object with `key`, first insert a new `value_type` object having `key` and a default‐constructed `VALUE` object. Note that this method requires that the (template parameter) type `KEY` is `copy‐constructible` and the (template parameter) `VALUE` is "default‐constructible" (see {Requirements on `value_type`}). == Synopsis Declared in `<bslstl_unorderedmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/add_lvalue_reference-040/type.adoc[add_lvalue_reference<Json>::type] operator[](xref:bsl/unordered_map-0bf/key_type.adoc[key_type] const& key); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#