Insert members from the specified memberInitializers.
Synopsis
Declared in <bdljsn_json.h>
JsonObject&
insert(std::initializer_list<JsonObject_MemberInitializer> memberInitializers);
Description
Insert into this JsonObject members created (in order) from the specified members. List members having key values already contained in this object are ignored. Return a non‐`const` reference to this JsonObject. The behavior is undefined unless the keys of all Member objects inserted are valid UTF‐8 (see bdlde::Utf8Util::isValid).
Return Value
an iterator referring to the newly inserted element
Parameters
Name |
Description |
memberInitializers |
initializer‐list of members |
Created with MrDocs