nlohmann::basic_json::patch_inplace

applies a JSON patch in-place without copying the object

Synopsis

Declared in <nlohmann/json.hpp>

void
patch_inplace(basic_json const& json_patch);

Parameters

NameDescription
json_patcha class to store JSON values