| Package | Description |
|---|---|
| net.javacrumbs.jsonunit.core | |
| net.javacrumbs.jsonunit.core.internal |
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
Configuration.empty()
Returns an empty configuration.
|
Configuration |
Configuration.when(Option first,
Option... next)
Adds comparison options.
|
Configuration |
Configuration.whenIgnoringPaths(java.lang.String... pathsToBeIgnored) |
Configuration |
Configuration.withIgnorePlaceholder(java.lang.String ignorePlaceholder)
Sets ignore placeholder.
|
Configuration |
Configuration.withMatcher(java.lang.String matcherName,
org.hamcrest.Matcher<?> matcher)
Adds a matcher to be used in ${json-unit.matches:matcherName} macro.
|
Configuration |
Configuration.withOptions(Option first,
Option... next)
Adds comparison options.
|
Configuration |
Configuration.withOptions(Options options)
Sets comparison options.
|
Configuration |
Configuration.withTolerance(java.math.BigDecimal tolerance)
Sets numerical comparison tolerance.
|
Configuration |
Configuration.withTolerance(double tolerance)
Sets numerical comparison tolerance.
|
| Modifier and Type | Method and Description |
|---|---|
static Diff |
Diff.create(java.lang.Object expected,
java.lang.Object actual,
java.lang.String actualName,
java.lang.String startPath,
Configuration configuration) |
static boolean |
JsonUtils.nodeAbsent(java.lang.Object json,
java.lang.String path,
Configuration configuration) |
Copyright © 2017. All Rights Reserved.