BloombergLP::bdljsn::Json::insert

Insert into the JsonObject held by this object members created from the specified memberInitializers, ignoring those whose keys already exist. Return a non-const reference to this object. If isNull(), then the type is changed to object. The behavior is undefined unless isObject() or isNull(), and unless the keys of all members are valid UTF-8 (see bdlde::Utf8Util::isValid).

Synopsis

Declared in <bdljsn_json.h>

Json&
insert(std::initializer_list<JsonObject_MemberInitializer> memberInitializers);