Interface Difference
public interface Difference
Describes differences between documents.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectActual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...@Nullable StringPath to the difference@Nullable ObjectExpected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...@Nullable StringPath to the expected element (may be different from actual path if IGNORE_ARRAY_ORDER is used)getType()Type of the difference
-
Method Details
-
getActualPath
@Nullable String getActualPath()Path to the difference -
getExpectedPath
@Nullable String getExpectedPath()Path to the expected element (may be different from actual path if IGNORE_ARRAY_ORDER is used) -
getActual
@Nullable Object getActual()Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ... -
getExpected
@Nullable Object getExpected()Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ... -
getType
Difference.Type getType()Type of the difference
-