Assign to this object from the specified memberInitializers.
Synopsis
Declared in <bdljsn_json.h>
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
Name |
Description |
memberInitializers |
initializer‐list of members |
Created with MrDocs