[#BloombergLP-bdljsn-JsonObject-2constructor-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]::JsonObject
:relfileprefix: ../../../
:mrdocs:

Create a `JsonObject` having members created (in order) from the specified `memberInitializers`&period; Member initializers having key values that were previously inserted into the new object are ignored&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is not specified, the currently installed default allocator is used&period; The behavior is undefined unless the key of each member initializer in `memberInitializers` is 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"]
----
JsonObject(
    std::initializer&lowbar;list&lt;JsonObject&lowbar;MemberInitializer&gt; memberInitializers,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----


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