Interface Difference
public interface Difference
Describes differences between documents.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDifference.Type -
Method Summary
Modifier and Type Method Description ObjectgetActual()Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...StringgetActualPath()Path to the differenceObjectgetExpected()Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...StringgetExpectedPath()Path to the expected element (may be different than actual path if IGNORE_ARRAY_ORDER is used)Difference.TypegetType()Type of the difference
-
Method Details
-
getActualPath
String getActualPath()Path to the difference -
getExpectedPath
String getExpectedPath()Path to the expected element (may be different than actual path if IGNORE_ARRAY_ORDER is used) -
getActual
Object getActual()Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ... -
getExpected
Object getExpected()Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ... -
getType
Difference.Type getType()Type of the difference
-