Skip to main content Skip to complementary content

Diff Method

Overloads

Diff(JToken, JToken)

Create a set of diffs between two tokens.

Diff(JToken, JToken)

Create a set of diffs between two tokens.

Declaration

      public static IEnumerable<StructureDiff> Diff(JToken left, JToken right)
    

Parameters

Type Name Description
Newtonsoft.Json.Linq.JToken left

The old structure.

Newtonsoft.Json.Linq.JToken right

The new structure.

Returns

Type Description
System.Collections.Generic.IEnumerable<StructureDiff>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!