[#BloombergLP-bdljsn-JsonObject-operator_assign-0dd] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this object the value of the specified `rhs` object, and return a reference providing modifiable access to this object. The contents of `rhs` are moved (in constant time) to this `JsonObject` if `allocator() == rhs.allocator()`; otherwise, all elements in this container are either destroyed or move‐assigned to, and each additional element in `rhs`, if any, is move‐inserted into this `JsonObject`. `rhs` is left in a valid but unspecified state. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]& operator=(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<JsonObject>] rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#