Index
All Classes and Interfaces|All Packages
I
- ignoring(String) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Sets the placeholder that can be used to ignore values.
- isAbsent() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if the node exists.
- isArray() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if the selected JSON is not an Array or is not present.
- isEqualTo(Object) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Compares JSON for equality.
- isFalse() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if selected JSON is not false.
- isNotEqualTo(Object) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if compared documents are equal.
- isNotNull() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if selected JSON is null.
- isNull() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if selected JSON is not null.
- isObject() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if the selected JSON is not an Object or is not present.
- isPresent() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if the node is missing.
- isString() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if the selected JSON is not a String or is not present.
- isStringEqualTo(String) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if the selected JSON is not a String or is not present or the value is not equal to expected value.
- isTrue() - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Fails if selected JSON is not true.
J
- json() - Static method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Creates JsonUnitResultMatchers to be used for JSON assertions.
- json() - Static method in class net.javacrumbs.jsonunit.spring.JsonUnitResultMatchers
-
Creates JsonUnitResultMatchers to be used for JSON assertions.
- json() - Static method in class net.javacrumbs.jsonunit.spring.WebTestClientJsonMatcher
- JsonUnitRequestMatchers - Class in net.javacrumbs.jsonunit.spring
-
Matchers compatible with Spring mocking framework.
- JsonUnitResultMatchers - Class in net.javacrumbs.jsonunit.spring
-
Matchers compatible with Spring MVC test framework.
M
- matches(Matcher<?>) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Matches the node using Hamcrest matcher.
N
- net.javacrumbs.jsonunit.spring - module net.javacrumbs.jsonunit.spring
- net.javacrumbs.jsonunit.spring - package net.javacrumbs.jsonunit.spring
- node(String) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Creates a matcher object that only compares given node.
W
- WebTestClientJsonMatcher - Class in net.javacrumbs.jsonunit.spring
-
Matcher compatible with Spring TestWebClient.
- when(Option, Option...) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Sets options changing comparison behavior.
- withDifferenceListener(DifferenceListener) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
- withMatcher(String, Matcher<?>) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Adds a matcher to be used in ${json-unit.matches:matcherName} macro.
- withTolerance(double) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Sets the tolerance for floating number comparison.
- withTolerance(BigDecimal) - Method in class net.javacrumbs.jsonunit.spring.JsonUnitRequestMatchers
-
Sets the tolerance for floating number comparison.
All Classes and Interfaces|All Packages