Uses of Enum
org.skyscreamer.jsonassert.JSONCompareMode
-
Uses of JSONCompareMode in org.skyscreamer.jsonassert
Modifier and TypeMethodDescriptionstatic JSONCompareMode
Returns the enum constant of this type with the specified name.static JSONCompareMode[]
JSONCompareMode.values()
Returns an array containing the constants of this enum type, in the order they are declared.JSONCompareMode.withExtensible
(boolean extensible) Get the equivalentJSONCompareMode
with or without extensibility.JSONCompareMode.withStrictOrdering
(boolean strictOrdering) Get the equivalentJSONCompareMode
with or without strict ordering.Modifier and TypeMethodDescriptionstatic void
JSONAssert.assertEquals
(String message, String expectedStr, String actualStr, JSONCompareMode compareMode) Asserts that the JSONArray provided matches the expected string.static void
JSONAssert.assertEquals
(String message, String expectedStr, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided matches the expected string.static void
JSONAssert.assertEquals
(String message, String expectedStr, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided matches the expected string.static void
JSONAssert.assertEquals
(String expectedStr, String actualStr, JSONCompareMode compareMode) Asserts that the JSONArray provided matches the expected string.static void
JSONAssert.assertEquals
(String message, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided matches the expected JSONArray.static void
JSONAssert.assertEquals
(String expectedStr, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided matches the expected string.static void
JSONAssert.assertEquals
(String message, org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided matches the expected JSONObject.static void
JSONAssert.assertEquals
(String expectedStr, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided matches the expected string.static void
JSONAssert.assertEquals
(org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided matches the expected JSONArray.static void
JSONAssert.assertEquals
(org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided matches the expected JSONObject.static void
JSONAssert.assertNotEquals
(String message, String expectedStr, String actualStr, JSONCompareMode compareMode) Asserts that the JSONArray provided does not match the expected string.static void
JSONAssert.assertNotEquals
(String message, String expectedStr, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided does not match the expected string.static void
JSONAssert.assertNotEquals
(String message, String expectedStr, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided does not match the expected string.static void
JSONAssert.assertNotEquals
(String expectedStr, String actualStr, JSONCompareMode compareMode) Asserts that the JSONArray provided does not match the expected string.static void
JSONAssert.assertNotEquals
(String message, org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided does not match the expected JSONArray.static void
JSONAssert.assertNotEquals
(String expectedStr, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided does not match the expected string.static void
JSONAssert.assertNotEquals
(String message, org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided does not match the expected JSONObject.static void
JSONAssert.assertNotEquals
(String expectedStr, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided does not match the expected string.static void
JSONAssert.assertNotEquals
(org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareMode compareMode) Asserts that the JSONArray provided does not match the expected JSONArray.static void
JSONAssert.assertNotEquals
(org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareMode compareMode) Asserts that the JSONObject provided does not match the expected JSONObject.static JSONCompareResult
JSONCompare.compareJSON
(String expectedStr, String actualStr, JSONCompareMode mode) Compares JSON string provided to the expected JSON string, and returns the results of the comparison.static JSONCompareResult
JSONCompare.compareJSON
(org.json.JSONArray expected, org.json.JSONArray actual, JSONCompareMode mode) Compares JSONArray provided to the expected JSONArray, and returns the results of the comparison.static JSONCompareResult
JSONCompare.compareJSON
(org.json.JSONObject expected, org.json.JSONObject actual, JSONCompareMode mode) Compares JSONObject provided to the expected JSONObject, and returns the results of the comparison. -
Uses of JSONCompareMode in org.skyscreamer.jsonassert.comparator
ModifierConstructorDescriptionCreate new ArraySizeComparator.CustomComparator
(JSONCompareMode mode, Customization... customizations)