[#BloombergLP-bdljsn-Json-operator_subs-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::operator[] :relfileprefix: ../../../ :mrdocs: Return a reference providing modifiable access to the `Json` object associated with the specified `key` in the `JsonObject` held by this object. If `isNull()`, then type is changed to object. If the `JsonObject` does not already contain a `Json` object associated with `key`, first insert a new default‐constructed `Json` object associated with `key`. The behavior is undefined unless `isObject()` or `isNull()`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/Json.adoc[Json]& operator[](std::string_view const& key); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#