[#BloombergLP-bdljsn-JsonArray-operator_subs-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]::operator&lsqb;&rsqb;
:relfileprefix: ../../../
:mrdocs:

Return a reference providing non&hyphen;modifiable access to the element at the specified `index` in this `JsonArray`&period; The behavior is undefined unless `index &lt; size()`&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/Json.adoc[Json] const&
operator&lsqb;&rsqb;(std::size&lowbar;t index) const;
----

== Return Value

a non&hyphen;modifiable reference to the element at the specified position

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| zero&hyphen;based element position
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
