Uses of Interface
org.skyscreamer.jsonassert.comparator.JSONComparator
Packages that use JSONComparator
-
Uses of JSONComparator in org.skyscreamer.jsonassert
Methods in org.skyscreamer.jsonassert with parameters of type JSONComparatorModifier and TypeMethodDescriptionstatic voidJSONAssert.assertEquals(String message, String expectedStr, String actualStr, JSONComparator comparator) Asserts that the json string provided matches the expected string.static voidJSONAssert.assertEquals(String expectedStr, String actualStr, JSONComparator comparator) Asserts that the json string provided matches the expected string.static voidJSONAssert.assertEquals(String message, org.json.JSONObject expected, org.json.JSONObject actual, JSONComparator comparator) Asserts that the JSONObject provided matches the expected JSONObject.static voidJSONAssert.assertEquals(org.json.JSONObject expected, org.json.JSONObject actual, JSONComparator comparator) Asserts that the JSONObject provided matches the expected JSONObject.static voidJSONAssert.assertNotEquals(String message, String expectedStr, String actualStr, JSONComparator comparator) Asserts that the json string provided does not match the expected string.static voidJSONAssert.assertNotEquals(String expectedStr, String actualStr, JSONComparator comparator) Asserts that the json string provided does not match the expected string.static voidJSONAssert.assertNotEquals(String message, org.json.JSONObject expected, org.json.JSONObject actual, JSONComparator comparator) Asserts that the JSONObject provided does not match the expected JSONObject.static voidJSONAssert.assertNotEquals(org.json.JSONObject expected, org.json.JSONObject actual, JSONComparator comparator) Asserts that the JSONObject provided does not match the expected JSONObject.static JSONCompareResultJSONCompare.compareJSON(String expectedStr, String actualStr, JSONComparator comparator) Compares JSON string provided to the expected JSON string using provided comparator, and returns the results of the comparison.static JSONCompareResultJSONCompare.compareJSON(org.json.JSONArray expected, org.json.JSONArray actual, JSONComparator comparator) Compares JSON object provided to the expected JSON object using provided comparator, and returns the results of the comparison.static JSONCompareResultJSONCompare.compareJSON(org.json.JSONObject expected, org.json.JSONObject actual, JSONComparator comparator) Compares JSON object provided to the expected JSON object using provided comparator, and returns the results of the comparison.Constructors in org.skyscreamer.jsonassert with parameters of type JSONComparatorModifierConstructorDescriptionArrayValueMatcher(JSONComparator comparator) Create ArrayValueMatcher to match every element in actual array against elements taken in sequence from expected array, repeating from start of expected array if necessary.ArrayValueMatcher(JSONComparator comparator, int index) Create ArrayValueMatcher to match specified element in actual array against first element of expected array.ArrayValueMatcher(JSONComparator comparator, int from, int to) Create ArrayValueMatcher to match every element in specified range (inclusive) from actual array against elements taken in sequence from expected array, repeating from start of expected array if necessary. -
Uses of JSONComparator in org.skyscreamer.jsonassert.comparator
Classes in org.skyscreamer.jsonassert.comparator that implement JSONComparatorModifier and TypeClassDescriptionclassThis class provides a skeletal implementation of theJSONComparatorinterface, to minimize the effort required to implement this interface.classA JSONAssert array size comparator.classclassThis class is the default json comparator implementation.