updates a JSON object from another object, overwriting existing keys
Declared in <nlohmann/json.hpp>
void
update(
const_reference j,
bool merge_objects = false);
| Name | Description |
|---|---|
| j | JSON object with which to update this object |
| merge_objects | whether to merge nested objects recursively instead of overwriting them |