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

copy constructor

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
basic&lowbar;json(xref:nlohmann/basic_json-0c.adoc[basic&lowbar;json] const& other);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| the basic&lowbar;json object to copy
|===


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