Interface Difference


public interface Difference
Describes differences between documents.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Interface Description
    static class  Difference.Type  
  • Method Summary

    Modifier and Type Method Description
    Object getActual()
    Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    String getActualPath()
    Path to the difference
    Object getExpected()
    Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
    String getExpectedPath()
    Path to the expected element (may be different than actual path if IGNORE_ARRAY_ORDER is used)
    Difference.Type getType()
    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