[#BloombergLP-bdljsn-JsonObject-insert-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]::insert :relfileprefix: ../../../ :mrdocs: Insert into this `JsonObject` a `Member` constructed from the specified `key` and the specified `value`, respectively, if `key` 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) `Member` object in this `JsonObject` whose key is the equivalent to that of the object to be inserted, and whose `second` member is `true` if a new value was inserted, and `false` otherwise. The behavior is undefined unless `key` is valid UTF‐8 (see `bdlde::Utf8Util::isValid`). == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_VALUE> xref:bsl/pair-0b.adoc[bsl::pair<JsonObject::Iterator, bool>] insert( std::string_view const& key, t_VALUE&& value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#