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

create an empty value with a given type

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
basic&lowbar;json(xref:nlohmann/basic_json-00/value_t.adoc[value&lowbar;t] const v);
----

== Parameters

[cols=2]
|===
| Name
| Description
| *v*
| The object to construct from
|===


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