Uses of Class
com.jayway.jsonpath.Configuration
Packages that use Configuration
Package
Description
-
Uses of Configuration in com.jayway.jsonpath
Methods in com.jayway.jsonpath that return ConfigurationModifier and TypeMethodDescriptionConfiguration.addEvaluationListeners(EvaluationListener... evaluationListener) Creates a new Configuration by the provided evaluation listeners to the current listenersConfiguration.addOptions(Option... options) Creates a new configuration by adding the new options to the options used in this configuration.Configuration.ConfigurationBuilder.build()Predicate.PredicateContext.configuration()Configuration to use when evaluatingReadContext.configuration()Returns the configuration used for readingWriteContext.configuration()Returns the configuration used for readingstatic ConfigurationConfiguration.defaultConfiguration()Creates a new configuration based on default valuesConfiguration.jsonProvider(JsonProvider newJsonProvider) Creates a new Configuration based on the givenJsonProviderConfiguration.mappingProvider(MappingProvider newMappingProvider) Creates a new Configuration based on the givenMappingProviderConfiguration.setEvaluationListeners(EvaluationListener... evaluationListener) Creates a new Configuration with the provided evaluation listenersConfiguration.setOptions(Option... options) Creates a new configuration with the provided options.Methods in com.jayway.jsonpath with parameters of type ConfigurationModifier and TypeMethodDescription<T> TJsonPath.add(Object jsonObject, Object value, Configuration configuration) Adds a new value to the Array this path points to in the provided jsonObject<T> TJsonPath.delete(Object jsonObject, Configuration configuration) Deletes the object this path points to in the provided jsonObject<T> TJsonPath.map(Object jsonObject, MapFunction mapFunction, Configuration configuration) Replaces the value on the given path with the result of theMapFunction.MapFunction.map(Object currentValue, Configuration configuration) static DocumentContextJsonPath.parse(File json, Configuration configuration) Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath.parse(InputStream json, Configuration configuration) Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath.parse(Object json, Configuration configuration) Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath.parse(String json, Configuration configuration) Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath.parse(URL json, Configuration configuration) Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluation<T> TJsonPath.put(Object jsonObject, String key, Object value, Configuration configuration) Adds or updates the Object this path points to in the provided jsonObject with a key with a value<T> TJsonPath.read(File jsonFile, Configuration configuration) Applies this JsonPath to the provided json file<T> TJsonPath.read(InputStream jsonInputStream, Configuration configuration) Applies this JsonPath to the provided json input stream<T> TJsonPath.read(InputStream jsonInputStream, String charset, Configuration configuration) Applies this JsonPath to the provided json input stream<T> TJsonPath.read(Object jsonObject, Configuration configuration) Applies this JsonPath to the provided json document.<T> TJsonPath.read(String json, Configuration configuration) Applies this JsonPath to the provided json string<T> TJsonPath.renameKey(Object jsonObject, String oldKeyName, String newKeyName, Configuration configuration) private <T> TJsonPath.resultByConfiguration(Object jsonObject, Configuration configuration, EvaluationContext evaluationContext) <T> TJsonPath.set(Object jsonObject, Object newVal, Configuration configuration) Set the value this path points to in the provided jsonObjectstatic ParseContextJsonPath.using(Configuration configuration) Creates aParseContextthat can be used to parse a given JSON input. -
Uses of Configuration in com.jayway.jsonpath.internal
Fields in com.jayway.jsonpath.internal declared as ConfigurationMethods in com.jayway.jsonpath.internal that return ConfigurationMethods in com.jayway.jsonpath.internal with parameters of type ConfigurationModifier and TypeMethodDescriptionabstract voidPathRef.add(Object newVal, Configuration configuration) voidPathRef.ArrayIndexPathRef.add(Object value, Configuration configuration) voidPathRef.ObjectMultiPropertyPathRef.add(Object newVal, Configuration configuration) voidPathRef.ObjectPropertyPathRef.add(Object value, Configuration configuration) voidPathRef.RootPathRef.add(Object newVal, Configuration configuration) private <T> TJsonContext.convert(Object obj, TypeRef<T> targetType, Configuration configuration) private <T> TJsonContext.convert(Object obj, Class<T> targetType, Configuration configuration) voidPathRef.ArrayIndexPathRef.convert(MapFunction mapFunction, Configuration configuration) abstract voidPathRef.convert(MapFunction mapFunction, Configuration configuration) voidPathRef.ObjectMultiPropertyPathRef.convert(MapFunction mapFunction, Configuration configuration) voidPathRef.ObjectPropertyPathRef.convert(MapFunction mapFunction, Configuration configuration) voidPathRef.RootPathRef.convert(MapFunction mapFunction, Configuration configuration) voidPathRef.ArrayIndexPathRef.delete(Configuration configuration) abstract voidPathRef.delete(Configuration configuration) voidPathRef.ObjectMultiPropertyPathRef.delete(Configuration configuration) voidPathRef.ObjectPropertyPathRef.delete(Configuration configuration) voidPathRef.RootPathRef.delete(Configuration configuration) Path.evaluate(Object document, Object rootDocument, Configuration configuration) Evaluates this pathPath.evaluate(Object document, Object rootDocument, Configuration configuration, boolean forUpdate) Evaluates this pathvoidPathRef.ArrayIndexPathRef.put(String key, Object value, Configuration configuration) voidPathRef.ObjectMultiPropertyPathRef.put(String key, Object newVal, Configuration configuration) voidPathRef.ObjectPropertyPathRef.put(String key, Object value, Configuration configuration) abstract voidPathRef.put(String key, Object newVal, Configuration configuration) voidPathRef.RootPathRef.put(String key, Object newVal, Configuration configuration) protected voidPathRef.renameInMap(Object targetMap, String oldKeyName, String newKeyName, Configuration configuration) voidPathRef.ArrayIndexPathRef.renameKey(String oldKeyName, String newKeyName, Configuration configuration) voidPathRef.ObjectMultiPropertyPathRef.renameKey(String oldKeyName, String newKeyName, Configuration configuration) voidPathRef.ObjectPropertyPathRef.renameKey(String oldKeyName, String newKeyName, Configuration configuration) abstract voidPathRef.renameKey(String oldKey, String newKeyName, Configuration configuration) voidPathRef.RootPathRef.renameKey(String oldKeyName, String newKeyName, Configuration configuration) voidPathRef.ArrayIndexPathRef.set(Object newVal, Configuration configuration) voidPathRef.ObjectMultiPropertyPathRef.set(Object newVal, Configuration configuration) voidPathRef.ObjectPropertyPathRef.set(Object newVal, Configuration configuration) voidPathRef.RootPathRef.set(Object newVal, Configuration configuration) abstract voidPathRef.set(Object newVal, Configuration configuration) Constructors in com.jayway.jsonpath.internal with parameters of type ConfigurationModifierConstructorDescriptionJsonContext(Configuration configuration) privateJsonContext(Object json, Configuration configuration) -
Uses of Configuration in com.jayway.jsonpath.internal.path
Fields in com.jayway.jsonpath.internal.path declared as ConfigurationModifier and TypeFieldDescriptionprivate final ConfigurationEvaluationContextImpl.configurationprivate final ConfigurationPredicateContextImpl.configurationMethods in com.jayway.jsonpath.internal.path that return ConfigurationModifier and TypeMethodDescriptionEvaluationContextImpl.configuration()PredicateContextImpl.configuration()Methods in com.jayway.jsonpath.internal.path with parameters of type ConfigurationModifier and TypeMethodDescriptionbooleanPredicatePathToken.accept(Object obj, Object root, Configuration configuration, EvaluationContextImpl evaluationContext) CompiledPath.evaluate(Object document, Object rootDocument, Configuration configuration) CompiledPath.evaluate(Object document, Object rootDocument, Configuration configuration, boolean forUpdate) Constructors in com.jayway.jsonpath.internal.path with parameters of type ConfigurationModifierConstructorDescriptionEvaluationContextImpl(Path path, Object rootDocument, Configuration configuration, boolean forUpdate) PredicateContextImpl(Object contextDocument, Object rootDocument, Configuration configuration, HashMap<Path, Object> documentPathCache) -
Uses of Configuration in com.jayway.jsonpath.spi.mapper
Methods in com.jayway.jsonpath.spi.mapper with parameters of type ConfigurationModifier and TypeMethodDescription<T> TGsonMappingProvider.map(Object source, TypeRef<T> targetType, Configuration configuration) <T> TGsonMappingProvider.map(Object source, Class<T> targetType, Configuration configuration) <T> TJacksonMappingProvider.map(Object source, TypeRef<T> targetType, Configuration configuration) <T> TJacksonMappingProvider.map(Object source, Class<T> targetType, Configuration configuration) <T> TJsonSmartMappingProvider.map(Object source, TypeRef<T> targetType, Configuration configuration) <T> TJsonSmartMappingProvider.map(Object source, Class<T> targetType, Configuration configuration) <T> TMappingProvider.map(Object source, TypeRef<T> targetType, Configuration configuration) <T> TMappingProvider.map(Object source, Class<T> targetType, Configuration configuration)