Uses of Class
net.javacrumbs.jsonunit.core.Configuration
Packages that use Configuration
Package
Description
-
Uses of Configuration in net.javacrumbs.jsonunit.core
Methods in net.javacrumbs.jsonunit.core that return ConfigurationModifier and TypeMethodDescription@NotNull ConfigurationConfigurationWhen.ApplicableForPath.applyForPaths(@NotNull Configuration configuration, @NotNull ConfigurationWhen.PathsParam pathsParam) static @NotNull ConfigurationConfiguration.empty()Returns an empty configuration.final @NotNull ConfigurationConfiguration.when(@NotNull ConfigurationWhen.PathsParam object, @NotNull ConfigurationWhen.ApplicableForPath... actions) Defines general comparison options.@NotNull ConfigurationAdds comparison options.@NotNull ConfigurationConfiguration.whenIgnoringPaths(@NotNull String... pathsToBeIgnored) Makes JsonUnit ignore the specified paths in the actual value.@NotNull ConfigurationConfiguration.whenIgnoringPaths(@NotNull Collection<String> pathsToBeIgnored) @NotNull ConfigurationConfiguration.withDifferenceListener(@NotNull DifferenceListener differenceListener) Sets difference listener@NotNull ConfigurationConfiguration.withIgnorePlaceholder(@NotNull String ignorePlaceholder) Sets ignore placeholder.@NotNull ConfigurationConfiguration.withMatcher(@NotNull String matcherName, @NotNull org.hamcrest.Matcher<?> matcher) Adds a matcher to be used in ${json-unit.matches:matcherName} macro.@NotNull ConfigurationConfiguration.withNumberComparator(@NotNull NumberComparator numberComparator) Sets Number comparator@NotNull ConfigurationConfiguration.withOptions(@NotNull Options options) Sets comparison options.@NotNull ConfigurationConfiguration.withOptions(@NotNull Option first, @NotNull Option... next) Adds comparison options.@NotNull ConfigurationConfiguration.withPathOptions(@NotNull List<PathOption> pathOptions) @NotNull ConfigurationConfiguration.withTolerance(double tolerance) Sets numerical comparison tolerance.@NotNull ConfigurationConfiguration.withTolerance(@Nullable BigDecimal tolerance) Sets numerical comparison tolerance.Methods in net.javacrumbs.jsonunit.core with parameters of type ConfigurationModifier and TypeMethodDescription@NotNull ConfigurationConfigurationWhen.ApplicableForPath.applyForPaths(@NotNull Configuration configuration, @NotNull ConfigurationWhen.PathsParam pathsParam) -
Uses of Configuration in net.javacrumbs.jsonunit.core.internal
Methods in net.javacrumbs.jsonunit.core.internal with parameters of type ConfigurationModifier and TypeMethodDescriptionstatic DiffDiff.create(Object expected, Object actual, String actualName, String path, Configuration configuration) static DiffDiff.create(Object expected, Object actual, String actualName, Path path, Configuration configuration) static DiffDiff.createInternal(Object expected, Object actual, String actualName, Path path, Configuration configuration, String differenceString) static booleanJsonUtils.nodeAbsent(Object json, String path, Configuration configuration) static booleanJsonUtils.nodeAbsent(Object json, Path path, Configuration configuration) -
Uses of Configuration in net.javacrumbs.jsonunit.core.internal.matchers
Constructors in net.javacrumbs.jsonunit.core.internal.matchers with parameters of type ConfigurationModifierConstructorDescriptionInternalMatcher(@Nullable Object actual, @NotNull Path path, @NotNull String description, @NotNull Configuration configuration) InternalMatcher(@Nullable Object actual, @NotNull Path path, @NotNull String description, @NotNull Configuration configuration, @NotNull String nodeDescription) -
Uses of Configuration in net.javacrumbs.jsonunit.core.listener
Methods in net.javacrumbs.jsonunit.core.listener that return ConfigurationModifier and TypeMethodDescriptionDifferenceContext.getConfiguration()Configuration used for comparison.