Table of Contents

Enum JsonDifferenceKind

Namespace
JsonAssertions
Assembly
JsonAssertions.TUnit.dll

The category of a JsonDifference.

public enum JsonDifferenceKind
Extension Methods

Fields

ArrayElementUnmatched = 5

An expected array element has no equivalent element in the actual array (reported for order-insensitive array comparison).

ArrayLength = 4

Both sides are arrays of different lengths.

Kind = 1

The two sides are different JSON kinds (for example a Number where an Object was expected).

MissingProperty = 2

The expected document has a property the actual document does not.

UnexpectedProperty = 3

The actual document has a property the expected document does not.

Value = 0

Both sides are the same JSON kind but carry different values (string, number, or boolean).