updates a JSON object from another object, overwriting existing keys

Synopsis

Declared in <nlohmann/json.hpp>

void
update(
    const_reference j,
    bool merge_objects = false);

Parameters

Name

Description

j

the type of an element const reference

Created with MrDocs