[#BloombergLP-bdljsn-JsonObject-operator_assign-0d3] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]::operator= :relfileprefix: ../../../ :mrdocs: Assignment operators == Synopses Declared in `<bdljsn_json.h>` Assign to this object the value of the specified `rhs` object, and return a reference providing modifiable access to this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]& xref:BloombergLP/bdljsn/JsonObject/operator_assign-09.adoc[operator=](xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject] const& rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonObject/operator_assign-09.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]& xref:BloombergLP/bdljsn/JsonObject/operator_assign-0dd.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<JsonObject>] rhs); ---- [.small]#xref:BloombergLP/bdljsn/JsonObject/operator_assign-0dd.adoc[_» more..._]# Assign to this `JsonObject` members created (in order) from the specified `memberInitializers`. List members having key values that were previously inserted into the this object are ignored. Previous members of this object, if any, are destroyed. The behavior is undefined unless the key of each member in `members` is valid UTF‐8 (see `bdlde::Utf8Util::isValid`). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]& xref:BloombergLP/bdljsn/JsonObject/operator_assign-0e.adoc[operator=](std::initializer_list<JsonObject_MemberInitializer> memberInitializers); ---- [.small]#xref:BloombergLP/bdljsn/JsonObject/operator_assign-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#