[#nlohmann-basic_json-00-operator_assign] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::operator= :relfileprefix: ../../ :mrdocs: copy assignment == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:nlohmann/basic_json-00.adoc[basic_json]& operator=(xref:nlohmann/basic_json-00.adoc[basic_json] other) noexcept(std::is_nothrow_move_constructible<value_t>::value && std::is_nothrow_move_assignable<value_t>::value && std::is_nothrow_move_constructible<json_value>::value && std::is_nothrow_move_assignable<json_value>::value && std::is_nothrow_move_assignable<json_base_class_t>::value); ---- == Return Value Reference to the current object == Parameters [cols=2] |=== | Name | Description | *other* | The object to assign from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#