[#BloombergLP-bdljsn-JsonArray-operator_assign-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this array a sequence of `Json` objects, one for each element (in order) of the specified `elements`. Previous elements of this array, if any, are destroyed. Return a reference to `*this`. If an exception is thrown, `*this` is left in a valid but unspecified state. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/JsonArray.adoc[JsonArray]& operator=(std::initializer_list<Json_Initializer> elements); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#