Enum JsonDifferenceKind
- Namespace
- JsonAssertions
- Assembly
- JsonAssertions.TUnit.dll
The category of a JsonDifference.
public enum JsonDifferenceKind
- Extension Methods
Fields
ArrayElementUnmatched = 5An expected array element has no equivalent element in the actual array (reported for order-insensitive array comparison).
ArrayLength = 4Both sides are arrays of different lengths.
Kind = 1The two sides are different JSON kinds (for example a Number where an Object was expected).
MissingProperty = 2The expected document has a property the actual document does not.
UnexpectedProperty = 3The actual document has a property the expected document does not.
Value = 0Both sides are the same JSON kind but carry different values (string, number, or boolean).