Skip navigation links
A B C D E F G I J N O P R S T V W 

A

addChildArray(LazyArray) - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Adds a child JSON array to this container.
addChildObject(LazyObject) - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Adds a child JSON object to this container.
addChildValue(Object) - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Adds a value type to this container.
arrayCount() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the number of JSON arrays out of all the JSON elements stored.

B

BEGIN_BRACKET - Static variable in class com.github.kvnxiao.jsonequals.Constants
 
BEGIN_CURLY - Static variable in class com.github.kvnxiao.jsonequals.Constants
 
between(LazyObject, LazyObject) - Static method in class com.github.kvnxiao.jsonequals.JsonEquals
Returns a new JsonEquals builder instance between two JSON objects.
between(LazyArray, LazyArray) - Static method in class com.github.kvnxiao.jsonequals.JsonEquals
Returns a new JsonEquals builder instance between two JSON arrays.

C

com.github.kvnxiao.jsonequals - package com.github.kvnxiao.jsonequals
 
compare() - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Compares the source with the comparate and returns a JsonCompareResult.
compareNode(LazyObject, LazyObject) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Compares two JSON objects, starting from the root level.
compareNode(LazyArray, LazyArray) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Compares two JSON arrays, starting from the root level.
compareNode(LazyObject, LazyObject, String) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Compares two JSON objects.
compareNode(LazyArray, LazyArray, String) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Compares two JSON arrays.
compareTo(JsonRoot, Set<String>, Map<String, String>) - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Compares this JsonRoot with another JsonRoot object.
compareTo(JsonRoot) - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Compares this JsonRoot with another JsonRoot object.
compareToWithIgnore(JsonRoot, Set<String>) - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Compares this JsonRoot with another JsonRoot object.
compareToWithPrune(JsonRoot, Map<String, String>) - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Compares this JsonRoot with another JsonRoot object.
compareValues(LazyObject, LazyObject, String, String) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Compares the values at the end of the JSON hierarchy (i.e.
Constants - Class in com.github.kvnxiao.jsonequals
 
Constants() - Constructor for class com.github.kvnxiao.jsonequals.Constants
 
create() - Static method in class com.github.kvnxiao.jsonequals.JsonChildren
Creates a new JsonChildren instance.

D

decrementObjCount() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Decrements the JSON object counter by 1, used for pruning.

E

END_BRACKET - Static variable in class com.github.kvnxiao.jsonequals.Constants
 

F

from(LazyElement) - Static method in class com.github.kvnxiao.jsonequals.JsonRoot
Creates a JsonRoot instance using the provided LazyElement as the root JSON element.
from(String) - Static method in class com.github.kvnxiao.jsonequals.JsonRoot
Creates a JsonRoot instance using the provided raw JSON string.

G

get(int) - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the child from the specified index.
getArr(int) - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the child from the specified index as a LazyArray (JSON array).
getChildren() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Returns all the children from this container in another list.
getChildrenTypes() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Returns all the child types from this container in another list.
getInequalityCount() - Method in class com.github.kvnxiao.jsonequals.JsonCompareResult
 
getInequalityMessages() - Method in class com.github.kvnxiao.jsonequals.JsonCompareResult
 
getObj(int) - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the child from the specified index as a LazyObject (JSON object).
getRoot() - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Gets the LazyElement root of this JsonRoot.
getSuccessCount() - Method in class com.github.kvnxiao.jsonequals.JsonCompareResult
 
getSuccessMessages() - Method in class com.github.kvnxiao.jsonequals.JsonCompareResult
 
getTotalMessageCount() - Method in class com.github.kvnxiao.jsonequals.JsonCompareResult
 
getType(int) - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the type of the child from the specified index.

I

isEmpty() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Returns true true if there are no child JSON elements.
isEqual() - Method in class com.github.kvnxiao.jsonequals.JsonCompareResult
 
isRootArray() - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Checks if the root JSON element is a JSON array.
isRootObject() - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Checks if the root JSON element is a JSON object.

J

JsonChildren - Class in com.github.kvnxiao.jsonequals
A class which acts as a container for a collection of child JSON elements and values.
JsonChildren.Type - Enum in com.github.kvnxiao.jsonequals
Enum which specifies the type of the JSON child element.
JsonCompareResult - Class in com.github.kvnxiao.jsonequals
A class used to simply hold the result of a comparison between two JsonRoots.
JsonEquals - Class in com.github.kvnxiao.jsonequals
A builder class used to compare two JSON elements.
JsonRoot - Class in com.github.kvnxiao.jsonequals
A class representing the root JSON element / file.

N

NODE_SEPARATOR - Static variable in class com.github.kvnxiao.jsonequals.Constants
 

O

objectCount() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the number of JSON objects out of all the JSON elements stored.
of(boolean, List<String>, List<String>) - Static method in class com.github.kvnxiao.jsonequals.JsonCompareResult
 
ofType(LazyType) - Static method in class com.github.kvnxiao.jsonequals.JsonEquals
Returns a new JsonEquals builder instance with the specified LazyType, being either for JSON objects or JSON arrays.

P

PREDICATE_SEPARATOR - Static variable in class com.github.kvnxiao.jsonequals.Constants
 

R

ROOT_NAME - Static variable in class com.github.kvnxiao.jsonequals.Constants
 

S

SEPARATOR_REGEX - Static variable in class com.github.kvnxiao.jsonequals.Constants
 
setDebugMode(boolean) - Static method in class com.github.kvnxiao.jsonequals.JsonEquals
Sets the global debug mode for JSON comparisons.
size() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the number of JSON elements.

T

toString() - Method in class com.github.kvnxiao.jsonequals.JsonRoot
Converts the root JSON element into string form.

V

valueCount() - Method in class com.github.kvnxiao.jsonequals.JsonChildren
Gets the number of value types stored, out of all the JSON elements stored.
valueOf(String) - Static method in enum com.github.kvnxiao.jsonequals.JsonChildren.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.kvnxiao.jsonequals.JsonChildren.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WILDCARD - Static variable in class com.github.kvnxiao.jsonequals.Constants
 
withComparate(LazyElement) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Specifies the JSON element comparate.
withIgnoreFields(Set<String>) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Specifies the optional fields to ignore from comparison.
withPruneFields(Map<String, String>) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Specifies the optional fields to prune before comparison.
withSource(LazyElement) - Method in class com.github.kvnxiao.jsonequals.JsonEquals
Specifies the source JSON element.
A B C D E F G I J N O P R S T V W 
Skip navigation links