[#BloombergLP-bdljsn-Json-insert-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::insert
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdljsn/Json.adoc[Json]&
insert(std::initializer&lowbar;list&lt;JsonObject&lowbar;MemberInitializer&gt; memberInitializers);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
