A D H I J M N O T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- as(String) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Sets the description of this object.
- assertThatJson(Object) - Static method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Creates a new instance of
.JsonFluentAssert
D
- describedAs(String) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Sets the description of this object.
H
- hasSameStructureAs(Object) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Deprecated.Use IGNORING_VALUES option instead
I
- ignoring(String) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Sets the placeholder that can be used to ignore values.
- isAbsent() - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Fails if the node exists.
- isArray() - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Fails if the selected JSON is not an Array or is not present.
- isEqualTo(Object) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Compares JSON for equality.
- isNotEqualTo(Object) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Fails if compared documents are equal.
- isObject() - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Fails if the selected JSON is not an Object or is not present.
- isPresent() - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Fails if the node is missing.
- isString() - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Fails if the selected JSON is not a String or is not present.
- isStringEqualTo(String) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Fails if the selected JSON is not a String or is not present or the value is not equal to expected value.
J
- JsonFluentAssert - Class in net.javacrumbs.jsonunit.fluent
-
Contains JSON related fluent assertions inspired by FEST or AssertJ.
- JsonFluentAssert.ArrayAssert - Class in net.javacrumbs.jsonunit.fluent
-
Array assertions
- JsonFluentAssert.ConfigurableJsonFluentAssert - Class in net.javacrumbs.jsonunit.fluent
-
JsonFluentAssert that can be configured.
M
- matches(Matcher<?>) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Matches the node using Hamcrest matcher.
N
- net.javacrumbs.jsonunit.fluent - package net.javacrumbs.jsonunit.fluent
- node(String) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Creates an assert object that only compares given node.
- node(String) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert
-
Creates an assert object that only compares given node.
O
- ofLength(int) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ArrayAssert
-
Fails if the array has different length.
T
- thatContains(Object) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ArrayAssert
W
- when(Option, Option...) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Sets options changing comparison behavior.
- whenIgnoringPaths(String...) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Adds paths to be ignored
- withDifferenceListener(DifferenceListener) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
- withMatcher(String, Matcher<?>) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Adds a matcher to be used in ${json-unit.matches:matcherName} macro.
- withTolerance(double) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Sets the tolerance for floating number comparison.
- withTolerance(BigDecimal) - Method in class net.javacrumbs.jsonunit.fluent.JsonFluentAssert.ConfigurableJsonFluentAssert
-
Sets the tolerance for floating number comparison.
All Classes All Packages