[#BloombergLP-bdljsn-JsonObject-operator_assign-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this object from the specified `memberInitializers`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]& operator=(std::initializer_list<JsonObject_MemberInitializer> memberInitializers); ---- == Description 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`). == Return Value a reference providing modifiable access to this object == Parameters [cols="1,4"] |=== | Name| Description | *memberInitializers* | initializer‐list of members |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#