[#nlohmann-basic_json-00-object]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]::object
:relfileprefix: ../../
:mrdocs:

explicitly create an object from an initializer list

== Synopsis

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;&lowbar;&lowbar;warn&lowbar;unused&lowbar;result&lowbar;&lowbar;&rsqb;&rsqb;
static
xref:nlohmann/basic_json-00.adoc[basic&lowbar;json]
object(xref:nlohmann/basic_json-00/initializer_list_t.adoc[initializer&lowbar;list&lowbar;t] init = &lcub;&rcub;);
----

== Return Value

a class to store JSON values

== Parameters

[cols=2]
|===
| Name
| Description
| *init*
| helper type for initializer lists of basic&lowbar;json values
|===


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