Interface JSONComparator<T>

Type Parameters:
T - the document type, typically JSONObject or JSONArray.
All Known Subinterfaces:
JSONModalComparator<T>

public interface JSONComparator<T>
Compares JSON documents.
  • Method Summary

    Modifier and Type
    Method
    Description
    compare(T expected, T actual)
     
  • Method Details

    • compare

      JSONComparisonResult compare(T expected, T actual) throws org.json.JSONException
      Throws:
      org.json.JSONException