| Modifier and Type | Class | Description |
|---|---|---|
static class |
JsonFluentAssert.JsonFluentAssertAfterAssertion |
JsonFluentAssert after assertion.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonFluentAssert |
JsonFluentAssert.as(String description) |
Sets the description of this object.
|
static JsonFluentAssert |
JsonFluentAssert.assertThatJson(Object json) |
Creates a new instance of
. |
JsonFluentAssert |
JsonFluentAssert.describedAs(String description) |
Sets the description of this object.
|
JsonFluentAssert |
JsonFluentAssert.ignoring(String ignorePlaceholder) |
Sets the placeholder that can be used to ignore values.
|
JsonFluentAssert |
JsonFluentAssert.JsonFluentAssertAfterAssertion.ignoring(String ignorePlaceholder) |
Deprecated.
|
JsonFluentAssert |
JsonFluentAssert.matches(org.hamcrest.Matcher<?> matcher) |
Matches the node using Hamcrest matcher.
|
JsonFluentAssert |
JsonFluentAssert.node(String path) |
Creates an assert object that only compares given node.
|
JsonFluentAssert |
JsonFluentAssert.treatingNullAsAbsent() |
Deprecated.
Use when(Option.TREATING_NULL_AS_ABSENT)
|
JsonFluentAssert |
JsonFluentAssert.JsonFluentAssertAfterAssertion.when(net.javacrumbs.jsonunit.core.Option firstOption,
net.javacrumbs.jsonunit.core.Option... otherOptions) |
Deprecated.
|
JsonFluentAssert |
JsonFluentAssert.when(net.javacrumbs.jsonunit.core.Option firstOption,
net.javacrumbs.jsonunit.core.Option... otherOptions) |
Sets options changing comparison behavior.
|
JsonFluentAssert |
JsonFluentAssert.whenIgnoringPaths(String... pathsToBeIgnored) |
Adds paths to be ignored
|
JsonFluentAssert |
JsonFluentAssert.withMatcher(String matcherName,
org.hamcrest.Matcher<?> matcher) |
Adds a matcher to be used in ${json-unit.matches:matcherName} macro.
|
JsonFluentAssert |
JsonFluentAssert.JsonFluentAssertAfterAssertion.withTolerance(double tolerance) |
Deprecated.
|
JsonFluentAssert |
JsonFluentAssert.JsonFluentAssertAfterAssertion.withTolerance(BigDecimal tolerance) |
Deprecated.
|
JsonFluentAssert |
JsonFluentAssert.withTolerance(double tolerance) |
Sets the tolerance for floating number comparison.
|
JsonFluentAssert |
JsonFluentAssert.withTolerance(BigDecimal tolerance) |
Sets the tolerance for floating number comparison.
|
Copyright © 2018. All rights reserved.