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

Assign to this object an object initialized from `rhs`&period;

== Synopsis

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

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

== Description

Assign to this object a value of type `JsonObject` initialized from the specified `rhs`, and return a reference providing modifiable access to this object&period; The value currently held by this object (if any) is destroyed if that value&apos;s type is not `JsonObject`&period;

== Return Value

a reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| source object
|===


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