A C F G H I J O P V W

A

assertEquals(String, JSONObject, boolean) - 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, boolean) - Static method in class org.skyscreamer.jsonassert.JSONAssert
Asserts that the JSONArray provided matches the expected string.
assertEquals(JSONObject, JSONObject, boolean) - 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.

C

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.

F

fail(String) - Method in class org.skyscreamer.jsonassert.JSONCompareResult
 
fail(String, Object, Object) - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Identify that the comparison failed
failed() - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Did the comparison fail?

G

getActual() - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Actual field value
getExpected() - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Expected field value
getField() - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Dot-separated path the the field that failed comparison
getMessage() - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Result message

H

hasStrictOrder() - Method in enum org.skyscreamer.jsonassert.JSONCompareMode
Strict order required

I

isExtensible() - Method in enum org.skyscreamer.jsonassert.JSONCompareMode
Is extensible
isFailureOnField() - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Check if comparison failed on a particular field

J

JSONAssert - Class in org.skyscreamer.jsonassert
A set of assertion methods useful for writing tests methods that return JSON.
JSONCompare - Class in org.skyscreamer.jsonassert
Provides the logic to compare two JSON entities.
JSONCompareMode - Enum in org.skyscreamer.jsonassert
These different modes define different behavior for the comparison of JSON for testing.
JSONCompareResult - Class in org.skyscreamer.jsonassert
Bean for holding results from JSONCompare.
JSONCompareResult() - Constructor for class org.skyscreamer.jsonassert.JSONCompareResult
Default constructor.
JSONParser - Class in org.skyscreamer.jsonassert
Simple JSON parsing utility.

O

org.skyscreamer.jsonassert - package org.skyscreamer.jsonassert
 

P

parseJSON(String) - Static method in class org.skyscreamer.jsonassert.JSONParser
Takes a JSON string and returns either a JSONObject or JSONArray, depending on whether the string represents an object or an array.
passed() - Method in class org.skyscreamer.jsonassert.JSONCompareResult
Did the comparison pass?

V

valueOf(String) - Static method in enum org.skyscreamer.jsonassert.JSONCompareMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.skyscreamer.jsonassert.JSONCompareMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withExtensible(boolean) - Method in enum org.skyscreamer.jsonassert.JSONCompareMode
Get the equivalent JSONCompareMode with or without extensibility.
withStrictOrdering(boolean) - Method in enum org.skyscreamer.jsonassert.JSONCompareMode
Get the equivalent JSONCompareMode with or without strict ordering.

A C F G H I J O P V W

Copyright © 2012. All Rights Reserved.