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 TypeMethodDescriptionConfigurationWhen.ApplicableForPath.applyForPaths(Configuration configuration, ConfigurationWhen.PathsParam pathsParam) static ConfigurationConfiguration.empty()Returns an empty configuration.Configuration.resetOptions()final ConfigurationConfiguration.when(ConfigurationWhen.PathsParam object, ConfigurationWhen.ApplicableForPath... actions) Defines general comparison options.Adds comparison options.Configuration.whenIgnoringPaths(String... pathsToBeIgnored) Makes JsonUnit ignore the specified paths in the actual value.Configuration.whenIgnoringPaths(Collection<String> pathsToBeIgnored) Configuration.withDifferenceListener(DifferenceListener differenceListener) Sets difference listenerConfiguration.withIgnorePlaceholder(String ignorePlaceholder) Sets ignore placeholder.Configuration.withMatcher(String matcherName, org.hamcrest.Matcher<?> matcher) Adds a matcher to be used in ${json-unit.matches:matcherName} macro.Configuration.withNumberComparator(NumberComparator numberComparator) Sets Number comparatorConfiguration.withOptions(Collection<Option> optionsToAdd) Adds comparison options.Configuration.withOptions(Option first, Option... next) Adds comparison options.Configuration.withPathOptions(List<PathOption> pathOptions) Configuration.withTolerance(double tolerance) Sets numerical comparison tolerance.Configuration.withTolerance(@Nullable BigDecimal tolerance) Sets numerical comparison tolerance.Methods in net.javacrumbs.jsonunit.core with parameters of type ConfigurationModifier and TypeMethodDescriptionConfigurationWhen.ApplicableForPath.applyForPaths(Configuration configuration, 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(@Nullable Object expected, @Nullable Object actual, String actualName, String path, Configuration configuration) static DiffDiff.create(@Nullable Object expected, @Nullable Object actual, String actualName, Path path, Configuration configuration) static DiffDiff.createInternal(@Nullable Object expected, @Nullable Object actual, String actualName, Path path, Configuration configuration, String differenceString) static booleanJsonUtils.nodeAbsent(@Nullable Object json, String path, Configuration configuration) static booleanJsonUtils.nodeAbsent(@Nullable 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, Path path, String description, Configuration configuration) InternalMatcher(@Nullable Object actual, Path path, String description, Configuration configuration, 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.