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

Subscript operators

== Synopses

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

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


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

[.small]#xref:BloombergLP/bdljsn/JsonArray/operator_subs-00.adoc[_» more&period;&period;&period;_]#

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;


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

[.small]#xref:BloombergLP/bdljsn/JsonArray/operator_subs-02.adoc[_» more&period;&period;&period;_]#


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