copy assignment
Declared in <nlohmann/json.hpp>
basic_json&
operator=(basic_json other) noexcept(/* see-below */);
This function is potentially-throwing unless 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.
Reference to the current object
| Name | Description |
|---|---|
| other | The object to assign from |