[#BloombergLP-bdljsn-Json-operator_subs-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::operator[] :relfileprefix: ../../../ :mrdocs: Return a reference providing non‐modifiable access to the element at the specified `index` in the `JsonArray` held by this object. The behavior is undefined unless `isArray()` returns true and `index < theArray().size()`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/Json.adoc[Json] const& operator[](std::size_t index) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#