- AbstractComparator - Class in org.skyscreamer.jsonassert.comparator
-
This class provides a skeletal implementation of the
JSONComparator
interface, to minimize the effort required to implement this interface.
- AbstractComparator() - Constructor for class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
- allJSONArrays(JSONArray) - Static method in class org.skyscreamer.jsonassert.comparator.JSONCompareUtil
-
Returns whether all elements in array are JSONArray instances.
- allJSONObjects(JSONArray) - Static method in class org.skyscreamer.jsonassert.comparator.JSONCompareUtil
-
Returns whether all elements in array are JSONObject instances.
- allSimpleValues(JSONArray) - Static method in class org.skyscreamer.jsonassert.comparator.JSONCompareUtil
-
Returns whether all of the elements in the given array are simple values.
- appliesToPath(String) - Method in class org.skyscreamer.jsonassert.Customization
-
- areNotSameDoubles(Object, Object) - Method in class org.skyscreamer.jsonassert.comparator.DefaultComparator
-
- areNumbers(Object, Object) - Method in class org.skyscreamer.jsonassert.comparator.DefaultComparator
-
- arrayOfJsonObjectToMap(JSONArray, String) - Static method in class org.skyscreamer.jsonassert.comparator.JSONCompareUtil
-
Converts the provided JSONArray to a Map of JSONObjects where the key of each object
is the value at uniqueKey in each object.
- ArraySizeComparator - Class in org.skyscreamer.jsonassert.comparator
-
A JSONAssert array size comparator.
- ArraySizeComparator(JSONCompareMode) - Constructor for class org.skyscreamer.jsonassert.comparator.ArraySizeComparator
-
Create new ArraySizeComparator.
- ArrayValueMatcher<T> - Class in org.skyscreamer.jsonassert
-
A value matcher for arrays.
- ArrayValueMatcher(JSONComparator) - Constructor for class org.skyscreamer.jsonassert.ArrayValueMatcher
-
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, int) - Constructor for class org.skyscreamer.jsonassert.ArrayValueMatcher
-
Create ArrayValueMatcher to match specified element in actual array
against first element of expected array.
- ArrayValueMatcher(JSONComparator, int, int) - Constructor for class org.skyscreamer.jsonassert.ArrayValueMatcher
-
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.
- assertEquals(String, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected string.
- assertEquals(String, String, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected string.
- assertEquals(String, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected string.
- assertEquals(String, String, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected string.
- assertEquals(String, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, String, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, String, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, String, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, String, String, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, String, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, String, String, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected string.
- assertEquals(String, String, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the json string provided matches the expected string.
- assertEquals(String, String, String, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the json string provided matches the expected string.
- assertEquals(JSONObject, JSONObject, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected JSONObject.
- assertEquals(String, JSONObject, JSONObject, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected JSONObject.
- assertEquals(JSONObject, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected JSONObject.
- assertEquals(String, JSONObject, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected JSONObject.
- assertEquals(JSONObject, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected JSONObject.
- assertEquals(String, JSONObject, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided matches the expected JSONObject.
- assertEquals(JSONArray, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected JSONArray.
- assertEquals(String, JSONArray, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected JSONArray.
- assertEquals(JSONArray, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected JSONArray.
- assertEquals(String, JSONArray, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided matches the expected JSONArray.
- assertNotEquals(String, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected string.
- assertNotEquals(String, String, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected string.
- assertNotEquals(String, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected string.
- assertNotEquals(String, String, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected string.
- assertNotEquals(String, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, String, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, String, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, String, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, String, String, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, String, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, String, String, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected string.
- assertNotEquals(String, String, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the json string provided does not match the expected string.
- assertNotEquals(String, String, String, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the json string provided does not match the expected string.
- assertNotEquals(JSONObject, JSONObject, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected JSONObject.
- assertNotEquals(String, JSONObject, JSONObject, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected JSONObject.
- assertNotEquals(JSONObject, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected JSONObject.
- assertNotEquals(String, JSONObject, JSONObject, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected JSONObject.
- assertNotEquals(JSONObject, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected JSONObject.
- assertNotEquals(String, JSONObject, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONObject provided does not match the expected JSONObject.
- assertNotEquals(JSONArray, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected JSONArray.
- assertNotEquals(String, JSONArray, JSONArray, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected JSONArray.
- assertNotEquals(JSONArray, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected JSONArray.
- assertNotEquals(String, JSONArray, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONAssert
-
Asserts that the JSONArray provided does not match the expected JSONArray.
- checkJsonObjectKeysActualInExpected(String, JSONObject, JSONObject, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
- checkJsonObjectKeysExpectedInActual(String, JSONObject, JSONObject, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
- compareJSON(JSONObject, JSONObject) - Method in class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
Compares JSONObject provided to the expected JSONObject, and returns the results of the comparison.
- compareJSON(JSONArray, JSONArray) - Method in class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
Compares JSONArray provided to the expected JSONArray, and returns the results of the comparison.
- compareJSON(String, JSONObject, JSONObject, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.DefaultComparator
-
- compareJSON(JSONObject, JSONObject) - Method in interface org.skyscreamer.jsonassert.comparator.JSONComparator
-
Compares two
JSONObjects and returns the result of the comparison in a
JSONCompareResult object.
- compareJSON(JSONArray, JSONArray) - Method in interface org.skyscreamer.jsonassert.comparator.JSONComparator
-
Compares two
JSONArrays and returns the result of the comparison in a
JSONCompareResult object.
- compareJSON(String, JSONObject, JSONObject, JSONCompareResult) - Method in interface org.skyscreamer.jsonassert.comparator.JSONComparator
-
Compares two
JSONObjects on the provided path represented by
prefix and
updates the result of the comparison in the
result JSONCompareResult object.
- compareJSON(String, String, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONCompare
-
Compares JSON string provided to the expected JSON string using provided comparator, and returns the results of
the comparison.
- compareJSON(JSONObject, JSONObject, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONCompare
-
Compares JSON object provided to the expected JSON object using provided comparator, and returns the results of
the comparison.
- compareJSON(JSONArray, JSONArray, JSONComparator) - Static method in class org.skyscreamer.jsonassert.JSONCompare
-
Compares JSON object provided to the expected JSON object using provided comparator, and returns the results of
the comparison.
- compareJson(JSONString, JSONString) - Static method in class org.skyscreamer.jsonassert.JSONCompare
-
Compares JSONString provided to the expected JSONString, checking that the
JSONString.toJSONString() are equal.
- compareJSON(String, String, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONCompare
-
Compares JSON string provided to the expected JSON string, and returns the results of the comparison.
- compareJSON(JSONObject, JSONObject, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONCompare
-
Compares JSONObject provided to the expected JSONObject, and returns the results of the comparison.
- compareJSON(JSONArray, JSONArray, JSONCompareMode) - Static method in class org.skyscreamer.jsonassert.JSONCompare
-
Compares JSONArray provided to the expected JSONArray, and returns the results of the comparison.
- compareJSONArray(String, JSONArray, JSONArray, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.ArraySizeComparator
-
Expected array should consist of either 1 or 2 integer values that define
maximum and minimum valid lengths of the actual array.
- compareJSONArray(String, JSONArray, JSONArray, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.DefaultComparator
-
- compareJSONArray(String, JSONArray, JSONArray, JSONCompareResult) - Method in interface org.skyscreamer.jsonassert.comparator.JSONComparator
-
Compares two
JSONArrays on the provided path represented by
prefix and
updates the result of the comparison in the
result JSONCompareResult object.
- compareJSONArrayOfJsonObjects(String, JSONArray, JSONArray, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
- compareJSONArrayOfSimpleValues(String, JSONArray, JSONArray, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
- compareJSONArrayWithStrictOrder(String, JSONArray, JSONArray, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.AbstractComparator
-
- compareValues(String, Object, Object, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.CustomComparator
-
- compareValues(String, Object, Object, JSONCompareResult) - Method in class org.skyscreamer.jsonassert.comparator.DefaultComparator
-
- compareValues(String, Object, Object, JSONCompareResult) - Method in interface org.skyscreamer.jsonassert.comparator.JSONComparator
-
Compares two
Objects on the provided path represented by
prefix and
updates the result of the comparison in the
result JSONCompareResult object.
- CustomComparator - Class in org.skyscreamer.jsonassert.comparator
-
- CustomComparator(JSONCompareMode, Customization...) - Constructor for class org.skyscreamer.jsonassert.comparator.CustomComparator
-
- Customization - Class in org.skyscreamer.jsonassert
-
Associates a custom matcher to a specific jsonpath.
- Customization(String, ValueMatcher<Object>) - Constructor for class org.skyscreamer.jsonassert.Customization
-
- customization(String, ValueMatcher<Object>) - Static method in class org.skyscreamer.jsonassert.Customization
-