[#nlohmann-basic_json-05-operator_assign]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-05.adoc[basic&lowbar;json&lt;&gt;]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assignment operator

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/basic_json-00.adoc[basic&lowbar;json&lt;&gt;]&
operator&equals;(xref:nlohmann/basic_json-00.adoc[basic&lowbar;json&lt;&gt;] other) noexcept(std&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;constructible&lt;value&lowbar;t&gt;&colon;&colon;value &amp;&amp; std&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;assignable&lt;value&lowbar;t&gt;&colon;&colon;value &amp;&amp; std&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;constructible&lt;json&lowbar;value&gt;&colon;&colon;value &amp;&amp; std&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;assignable&lt;json&lowbar;value&gt;&colon;&colon;value &amp;&amp; std&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;assignable&lt;json&lowbar;base&lowbar;class&lowbar;t&gt;&colon;&colon;value);
----

== Return Value

a class to store JSON values

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The object to assign from
|===


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