[#BloombergLP-bdljsn-JsonArray-operator_assign-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assignment operators

== Synopses

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

Assign to this object the value of the specified `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]&
xref:BloombergLP/bdljsn/JsonArray/operator_assign-00.adoc[operator&equals;](xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray] const& rhs);
----

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

Assign to this object by moving from the specified `rhs`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]&
xref:BloombergLP/bdljsn/JsonArray/operator_assign-08.adoc[operator&equals;](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;JsonArray&gt;] rhs);
----

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

Assign to this array from the specified `elements`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]&
xref:BloombergLP/bdljsn/JsonArray/operator_assign-03.adoc[operator&equals;](std::initializer&lowbar;list&lt;Json&lowbar;Initializer&gt; elements);
----

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

== Return Value

a reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| source array
| *elements*
| initializer&hyphen;list of element values
|===


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