Insert the specified member into this JsonObject if the key (the first element) of the object referred to by value does not already exist in this JsonObject; otherwise, this method has no effect. Return a pair whose first member is an iterator referring to the (possibly newly inserted) value_type object in this JsonObject whose key is equivalent to that of the object to be inserted, and whose second member is true if a new value was inserted, and false if a value having an equivalent key was already present. The behavior is undefined unless member.first is valid UTF‐8 (see bdlde::Utf8Util::isValid).
Synopsis
Declared in <bdljsn_json.h>
bsl::pair<JsonObject::Iterator, bool>
insert(Member const& member);
Created with MrDocs