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

A

arrayElements() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
asBoolean() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
asPrefix() - Method in class net.javacrumbs.jsonunit.core.internal.Path
 
asText() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 

C

Configuration - Class in net.javacrumbs.jsonunit.core
Comparison configuration.
Configuration(BigDecimal, Options, String) - Constructor for class net.javacrumbs.jsonunit.core.Configuration
Deprecated.
contains(Option) - Method in class net.javacrumbs.jsonunit.core.internal.Options
 
convertToJson(Object, String) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
Converts object to JSON.
convertToJson(Object, String, boolean) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
Converts object to JSON.
convertToNode(Object, String, boolean) - Method in interface net.javacrumbs.jsonunit.core.internal.NodeFactory
Creates node from given source.
copy(String) - Method in class net.javacrumbs.jsonunit.core.internal.Path
 
create(Object, Object, String, String, Configuration) - Static method in class net.javacrumbs.jsonunit.core.internal.Diff
 
create(Object, Object, String, Path, Configuration) - Static method in class net.javacrumbs.jsonunit.core.internal.Diff
 
create(String) - Static method in class net.javacrumbs.jsonunit.core.internal.Path
 
create(String, String) - Static method in class net.javacrumbs.jsonunit.core.internal.Path
 
createInternal(Object, Object, String, Path, Configuration, String) - Static method in class net.javacrumbs.jsonunit.core.internal.Diff
 

D

decimalValue() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
Diff - Class in net.javacrumbs.jsonunit.core.internal
Compares JSON structures.
diff(Difference, DifferenceContext) - Method in interface net.javacrumbs.jsonunit.core.listener.DifferenceListener
 
Difference - Interface in net.javacrumbs.jsonunit.core.listener
Describes differences between documents.
Difference.Type - Enum in net.javacrumbs.jsonunit.core.listener
 
DifferenceContext - Interface in net.javacrumbs.jsonunit.core.listener
 
DifferenceListener - Interface in net.javacrumbs.jsonunit.core.listener
Can listen on differences between documents.
differences() - Method in class net.javacrumbs.jsonunit.core.internal.Diff
 
dummyDifferenceListener() - Static method in class net.javacrumbs.jsonunit.core.Configuration
 

E

element(int) - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
empty() - Static method in class net.javacrumbs.jsonunit.core.Configuration
Returns an empty configuration.
empty() - Static method in class net.javacrumbs.jsonunit.core.internal.Options
 

F

failIfDifferent() - Method in class net.javacrumbs.jsonunit.core.internal.Diff
 
failIfDifferent(String) - Method in class net.javacrumbs.jsonunit.core.internal.Diff
 
fields() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 

G

get(String) - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
getActual() - Method in interface net.javacrumbs.jsonunit.core.listener.Difference
Actual node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
getActualPath() - Method in interface net.javacrumbs.jsonunit.core.listener.Difference
Path to the difference
getActualSource() - Method in interface net.javacrumbs.jsonunit.core.listener.DifferenceContext
Actual source serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
getConfiguration() - Method in interface net.javacrumbs.jsonunit.core.listener.DifferenceContext
Configuration used for comparison.
getDescription() - Method in enum net.javacrumbs.jsonunit.core.internal.Node.NodeType
 
getDifferenceListener() - Method in class net.javacrumbs.jsonunit.core.Configuration
 
getExpected() - Method in interface net.javacrumbs.jsonunit.core.listener.Difference
Expected node serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
getExpectedPath() - Method in interface net.javacrumbs.jsonunit.core.listener.Difference
Path to the expected element (may be different than actual path if IGNORE_ARRAY_ORDER is used)
getExpectedSource() - Method in interface net.javacrumbs.jsonunit.core.listener.DifferenceContext
Expected source serialized as Map<String, Object> for objects, BigDecimal for numbers, ...
getIgnorePlaceholder() - Method in class net.javacrumbs.jsonunit.core.Configuration
 
getKey() - Method in class net.javacrumbs.jsonunit.core.internal.Node.KeyValue
 
getMatcher(String) - Method in class net.javacrumbs.jsonunit.core.Configuration
 
getNode(Object, String) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
Returns node with given path.
getNode(Object, Path) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
Returns node with given path.
getNodeType() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
getObjectMapper(boolean) - Method in interface net.javacrumbs.jsonunit.providers.Jackson2ObjectMapperProvider
Provides ObjectMapper
getOptions() - Method in class net.javacrumbs.jsonunit.core.Configuration
 
getPathPrefix(Object) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
 
getPathsToBeIgnored() - Method in class net.javacrumbs.jsonunit.core.Configuration
 
getTolerance() - Method in class net.javacrumbs.jsonunit.core.Configuration
 
getType() - Method in interface net.javacrumbs.jsonunit.core.listener.Difference
Type of the difference
getValue() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
getValue() - Method in class net.javacrumbs.jsonunit.core.internal.Node.KeyValue
 
getValue(Node) - Method in interface net.javacrumbs.jsonunit.core.internal.Node.ValueExtractor
 
getWrappedNode() - Method in class net.javacrumbs.jsonunit.core.internal.Node.JsonList
 
getWrappedNode() - Method in class net.javacrumbs.jsonunit.core.internal.Node.JsonMap
 

I

isMissingNode() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
isNull() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
isPreferredFor(Object) - Method in interface net.javacrumbs.jsonunit.core.internal.NodeFactory
Returns true if this factory is preferred for given source.

J

Jackson2ObjectMapperProvider - Interface in net.javacrumbs.jsonunit.providers
Interface for customizing Jackson 2 ObjectMapper.
jsonSource(Object, String) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
 
JsonUtils - Class in net.javacrumbs.jsonunit.core.internal
Internal utility class to parse JSON values.
JsonUtils() - Constructor for class net.javacrumbs.jsonunit.core.internal.JsonUtils
 

M

MISSING_NODE - Static variable in interface net.javacrumbs.jsonunit.core.internal.Node
 
missingNode() - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
 

N

net.javacrumbs.jsonunit.core - package net.javacrumbs.jsonunit.core
 
net.javacrumbs.jsonunit.core.internal - package net.javacrumbs.jsonunit.core.internal
 
net.javacrumbs.jsonunit.core.listener - package net.javacrumbs.jsonunit.core.listener
 
net.javacrumbs.jsonunit.core.util - package net.javacrumbs.jsonunit.core.util
 
net.javacrumbs.jsonunit.providers - package net.javacrumbs.jsonunit.providers
 
Node - Interface in net.javacrumbs.jsonunit.core.internal
For internal use only!!! Abstract node representation.
Node.JsonList - Class in net.javacrumbs.jsonunit.core.internal
 
Node.JsonMap - Class in net.javacrumbs.jsonunit.core.internal
 
Node.KeyValue - Class in net.javacrumbs.jsonunit.core.internal
 
Node.NodeType - Enum in net.javacrumbs.jsonunit.core.internal
 
Node.ValueExtractor - Interface in net.javacrumbs.jsonunit.core.internal
 
nodeAbsent(Object, String, Configuration) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
 
nodeAbsent(Object, Path, Configuration) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
 
nodeExists(Object, String) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
Deprecated.
NodeFactory - Interface in net.javacrumbs.jsonunit.core.internal
 

O

Option - Enum in net.javacrumbs.jsonunit.core
Comparison options.
Options - Class in net.javacrumbs.jsonunit.core.internal
Options enum set wrapper
Options(Option, Option...) - Constructor for class net.javacrumbs.jsonunit.core.internal.Options
 

P

ParametrizedMatcher - Interface in net.javacrumbs.jsonunit.core
Implement this interface to use with parametrized matchers.
Path - Class in net.javacrumbs.jsonunit.core.internal
 

Q

quoteTextValue(Object) - Static method in class net.javacrumbs.jsonunit.core.internal.Diff
If the value is String than it's quoted in ".

R

resource(String) - Static method in class net.javacrumbs.jsonunit.core.util.ResourceUtils
Helper method to read a classpath resource.
ResourceUtils - Class in net.javacrumbs.jsonunit.core.util
Resource reading utility
ResourceUtils() - Constructor for class net.javacrumbs.jsonunit.core.util.ResourceUtils
 

S

setParameter(String) - Method in interface net.javacrumbs.jsonunit.core.ParametrizedMatcher
 
shouldIgnore(String) - Method in class net.javacrumbs.jsonunit.core.Configuration
 
similar() - Method in class net.javacrumbs.jsonunit.core.internal.Diff
 
size() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
Array length

T

to(String) - Method in class net.javacrumbs.jsonunit.core.internal.Path
 
toString() - Method in class net.javacrumbs.jsonunit.core.internal.Diff
 
toString() - Method in class net.javacrumbs.jsonunit.core.internal.Node.JsonMap
 
toString() - Method in class net.javacrumbs.jsonunit.core.internal.Path
 

V

valueOf(String) - Static method in enum net.javacrumbs.jsonunit.core.internal.Node.NodeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.javacrumbs.jsonunit.core.listener.Difference.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.javacrumbs.jsonunit.core.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.javacrumbs.jsonunit.core.internal.Node.NodeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class net.javacrumbs.jsonunit.core.internal.Options
 
values() - Static method in enum net.javacrumbs.jsonunit.core.listener.Difference.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.javacrumbs.jsonunit.core.Option
Returns an array containing the constants of this enum type, in the order they are declared.
valueToNode(Object) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
Converts value to Json node.
valueToNode(Object) - Method in interface net.javacrumbs.jsonunit.core.internal.NodeFactory
Converts value to Json node.

W

when(Option, Option...) - Method in class net.javacrumbs.jsonunit.core.Configuration
Adds comparison options.
whenIgnoringPaths(String...) - Method in class net.javacrumbs.jsonunit.core.Configuration
 
with(Option, Option...) - Method in class net.javacrumbs.jsonunit.core.internal.Options
 
withDifferenceListener(DifferenceListener) - Method in class net.javacrumbs.jsonunit.core.Configuration
Sets difference listener
withIgnorePlaceholder(String) - Method in class net.javacrumbs.jsonunit.core.Configuration
Sets ignore placeholder.
withMatcher(String, Matcher<?>) - Method in class net.javacrumbs.jsonunit.core.Configuration
Adds a matcher to be used in ${json-unit.matches:matcherName} macro.
withOptions(Option, Option...) - Method in class net.javacrumbs.jsonunit.core.Configuration
Adds comparison options.
withOptions(Options) - Method in class net.javacrumbs.jsonunit.core.Configuration
Sets comparison options.
without(Option) - Method in class net.javacrumbs.jsonunit.core.internal.Options
 
withTolerance(BigDecimal) - Method in class net.javacrumbs.jsonunit.core.Configuration
Sets numerical comparison tolerance.
withTolerance(double) - Method in class net.javacrumbs.jsonunit.core.Configuration
Sets numerical comparison tolerance.
wrapDeserializedObject(Object) - Static method in class net.javacrumbs.jsonunit.core.internal.JsonUtils
Wraps deserialized object - supports null, String, numbers, maps, lists, ...

_

___do_not_implement_this_interface_seriously() - Method in interface net.javacrumbs.jsonunit.core.internal.Node
 
A C D E F G I J M N O P Q R S T V W _ 
Skip navigation links

Copyright © 2019. All rights reserved.