creates a diff as a JSON patch

Synopsis

Declared in <nlohmann/json.hpp>

[[__warn_unused_result__]]
static
basic_json
diff(
    basic_json const& source,
    basic_json const& target,
    string_t const& path = "");

Return Value

a class to store JSON values

Parameters

Name

Description

source

a class to store JSON values

target

a class to store JSON values

path

a type for a string

Created with MrDocs