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 Configuration
Configuration.defaultConfiguration()
Creates a new configuration based on default valuesConfiguration.jsonProvider
(JsonProvider newJsonProvider) Creates a new Configuration based on the givenJsonProvider
Configuration.mappingProvider
(MappingProvider newMappingProvider) Creates a new Configuration based on the givenMappingProvider
Configuration.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> T
JsonPath.add
(Object jsonObject, Object value, Configuration configuration) Adds a new value to the Array this path points to in the provided jsonObject<T> T
JsonPath.delete
(Object jsonObject, Configuration configuration) Deletes the object this path points to in the provided jsonObject<T> T
JsonPath.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 DocumentContext
JsonPath.parse
(File json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(InputStream json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(Object json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(String json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluationstatic DocumentContext
JsonPath.parse
(URL json, Configuration configuration) Parses the given JSON input using the providedConfiguration
and returns aDocumentContext
for path evaluation<T> T
JsonPath.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> T
JsonPath.read
(File jsonFile, Configuration configuration) Applies this JsonPath to the provided json file<T> T
JsonPath.read
(InputStream jsonInputStream, Configuration configuration) Applies this JsonPath to the provided json input stream<T> T
JsonPath.read
(InputStream jsonInputStream, String charset, Configuration configuration) Applies this JsonPath to the provided json input stream<T> T
JsonPath.read
(Object jsonObject, Configuration configuration) Applies this JsonPath to the provided json document.<T> T
JsonPath.read
(String json, Configuration configuration) Applies this JsonPath to the provided json string<T> T
JsonPath.renameKey
(Object jsonObject, String oldKeyName, String newKeyName, Configuration configuration) private <T> T
JsonPath.resultByConfiguration
(Object jsonObject, Configuration configuration, EvaluationContext evaluationContext) <T> T
JsonPath.set
(Object jsonObject, Object newVal, Configuration configuration) Set the value this path points to in the provided jsonObjectstatic ParseContext
JsonPath.using
(Configuration configuration) Creates aParseContext
that 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 void
PathRef.add
(Object newVal, Configuration configuration) void
PathRef.ArrayIndexPathRef.add
(Object value, Configuration configuration) void
PathRef.ObjectMultiPropertyPathRef.add
(Object newVal, Configuration configuration) void
PathRef.ObjectPropertyPathRef.add
(Object value, Configuration configuration) void
PathRef.RootPathRef.add
(Object newVal, Configuration configuration) private <T> T
JsonContext.convert
(Object obj, TypeRef<T> targetType, Configuration configuration) private <T> T
JsonContext.convert
(Object obj, Class<T> targetType, Configuration configuration) void
PathRef.ArrayIndexPathRef.convert
(MapFunction mapFunction, Configuration configuration) abstract void
PathRef.convert
(MapFunction mapFunction, Configuration configuration) void
PathRef.ObjectMultiPropertyPathRef.convert
(MapFunction mapFunction, Configuration configuration) void
PathRef.ObjectPropertyPathRef.convert
(MapFunction mapFunction, Configuration configuration) void
PathRef.RootPathRef.convert
(MapFunction mapFunction, Configuration configuration) void
PathRef.ArrayIndexPathRef.delete
(Configuration configuration) abstract void
PathRef.delete
(Configuration configuration) void
PathRef.ObjectMultiPropertyPathRef.delete
(Configuration configuration) void
PathRef.ObjectPropertyPathRef.delete
(Configuration configuration) void
PathRef.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 pathvoid
PathRef.ArrayIndexPathRef.put
(String key, Object value, Configuration configuration) void
PathRef.ObjectMultiPropertyPathRef.put
(String key, Object newVal, Configuration configuration) void
PathRef.ObjectPropertyPathRef.put
(String key, Object value, Configuration configuration) abstract void
PathRef.put
(String key, Object newVal, Configuration configuration) void
PathRef.RootPathRef.put
(String key, Object newVal, Configuration configuration) protected void
PathRef.renameInMap
(Object targetMap, String oldKeyName, String newKeyName, Configuration configuration) void
PathRef.ArrayIndexPathRef.renameKey
(String oldKeyName, String newKeyName, Configuration configuration) void
PathRef.ObjectMultiPropertyPathRef.renameKey
(String oldKeyName, String newKeyName, Configuration configuration) void
PathRef.ObjectPropertyPathRef.renameKey
(String oldKeyName, String newKeyName, Configuration configuration) abstract void
PathRef.renameKey
(String oldKey, String newKeyName, Configuration configuration) void
PathRef.RootPathRef.renameKey
(String oldKeyName, String newKeyName, Configuration configuration) void
PathRef.ArrayIndexPathRef.set
(Object newVal, Configuration configuration) void
PathRef.ObjectMultiPropertyPathRef.set
(Object newVal, Configuration configuration) void
PathRef.ObjectPropertyPathRef.set
(Object newVal, Configuration configuration) void
PathRef.RootPathRef.set
(Object newVal, Configuration configuration) abstract void
PathRef.set
(Object newVal, Configuration configuration) Constructors in com.jayway.jsonpath.internal with parameters of type ConfigurationModifierConstructorDescriptionJsonContext
(Configuration configuration) private
JsonContext
(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 Configuration
EvaluationContextImpl.configuration
private final Configuration
PredicateContextImpl.configuration
Methods 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 TypeMethodDescriptionboolean
PredicatePathToken.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> T
GsonMappingProvider.map
(Object source, TypeRef<T> targetType, Configuration configuration) <T> T
GsonMappingProvider.map
(Object source, Class<T> targetType, Configuration configuration) <T> T
JacksonMappingProvider.map
(Object source, TypeRef<T> targetType, Configuration configuration) <T> T
JacksonMappingProvider.map
(Object source, Class<T> targetType, Configuration configuration) <T> T
JsonSmartMappingProvider.map
(Object source, TypeRef<T> targetType, Configuration configuration) <T> T
JsonSmartMappingProvider.map
(Object source, Class<T> targetType, Configuration configuration) <T> T
MappingProvider.map
(Object source, TypeRef<T> targetType, Configuration configuration) <T> T
MappingProvider.map
(Object source, Class<T> targetType, Configuration configuration)