Method | Description | |
---|---|---|
Diff ( JToken left, JToken right ) : JToken |
Diff two JSON objects. The output is a JObject that contains enough information to represent the delta between the two objects and to be able perform patch and reverse operations.
|
|
Diff ( string left, string right ) : string |
Diff two JSON objects. The output is a JObject that contains enough information to represent the delta between the two objects and to be able perform patch and reverse operations.
|
|
JsonDiffPatch ( ) : System | ||
JsonDiffPatch ( |
||
Patch ( JToken left, JToken patch ) : JToken |
Patch a JSON object
|
|
Patch ( string left, string patch ) : string |
Patch a JSON object
|
|
Unpatch ( JToken right, JToken patch ) : JToken |
Unpatch a JSON object
|
|
Unpatch ( string right, string patch ) : string |
Unpatch a JSON object
|
Method | Description | |
---|---|---|
ArrayDiff ( Newtonsoft.Json.Linq.JArray left, Newtonsoft.Json.Linq.JArray right ) : Newtonsoft.Json.Linq.JObject | ||
ArrayPatch ( Newtonsoft.Json.Linq.JArray left, Newtonsoft.Json.Linq.JObject patch ) : Newtonsoft.Json.Linq.JArray | ||
ArrayUnpatch ( Newtonsoft.Json.Linq.JArray right, Newtonsoft.Json.Linq.JObject patch ) : Newtonsoft.Json.Linq.JArray | ||
ObjectDiff ( Newtonsoft.Json.Linq.JObject left, Newtonsoft.Json.Linq.JObject right ) : Newtonsoft.Json.Linq.JObject | ||
ObjectPatch ( Newtonsoft.Json.Linq.JObject obj, Newtonsoft.Json.Linq.JObject patch ) : Newtonsoft.Json.Linq.JObject | ||
ObjectUnpatch ( Newtonsoft.Json.Linq.JObject obj, Newtonsoft.Json.Linq.JObject patch ) : Newtonsoft.Json.Linq.JObject |
public Diff ( JToken left, JToken right ) : JToken | ||
left | JToken | The base JSON object |
right | JToken | The JSON object to compare against the base |
return | JToken |
public Diff ( string left, string right ) : string | ||
left | string | The base JSON object |
right | string | The JSON object to compare against the base |
return | string |
public JsonDiffPatch ( |
||
options | ||
return | System |
public Patch ( JToken left, JToken patch ) : JToken | ||
left | JToken | Unpatched JSON object |
patch | JToken | JSON Patch Document |
return | JToken |
public Patch ( string left, string patch ) : string | ||
left | string | Unpatched JSON object |
patch | string | JSON Patch Document |
return | string |
public Unpatch ( JToken right, JToken patch ) : JToken | ||
right | JToken | Patched JSON object |
patch | JToken | JSON Patch Document |
return | JToken |
public Unpatch ( string right, string patch ) : string | ||
right | string | Patched JSON object |
patch | string | JSON Patch Document |
return | string |