Uses of Class
com.jayway.jsonpath.Configuration
-
Packages that use Configuration Package Description com.jayway.jsonpath com.jayway.jsonpath.internal com.jayway.jsonpath.internal.path com.jayway.jsonpath.spi.mapper -
-
Uses of Configuration in com.jayway.jsonpath
Methods in com.jayway.jsonpath that return Configuration Modifier and Type Method Description ConfigurationConfiguration. addEvaluationListeners(EvaluationListener... evaluationListener)Creates a new Configuration by the provided evaluation listeners to the current listenersConfigurationConfiguration. addOptions(Option... options)Creates a new configuration by adding the new options to the options used in this configuration.ConfigurationConfiguration.ConfigurationBuilder. build()ConfigurationPredicate.PredicateContext. configuration()Configuration to use when evaluatingConfigurationReadContext. configuration()Returns the configuration used for readingConfigurationWriteContext. configuration()Returns the configuration used for readingstatic ConfigurationConfiguration. defaultConfiguration()Creates a new configuration based on default valuesConfigurationConfiguration. jsonProvider(JsonProvider newJsonProvider)Creates a new Configuration based on the givenJsonProviderConfigurationConfiguration. mappingProvider(MappingProvider newMappingProvider)Creates a new Configuration based on the givenMappingProviderConfigurationConfiguration. setEvaluationListeners(EvaluationListener... evaluationListener)Creates a new Configuration with the provided evaluation listenersConfigurationConfiguration. setOptions(Option... options)Creates a new configuration with the provided options.Methods in com.jayway.jsonpath with parameters of type Configuration Modifier and Type Method Description <T> TJsonPath. add(java.lang.Object jsonObject, java.lang.Object value, Configuration configuration)Adds a new value to the Array this path points to in the provided jsonObject<T> TJsonPath. delete(java.lang.Object jsonObject, Configuration configuration)Deletes the object this path points to in the provided jsonObject<T> TJsonPath. map(java.lang.Object jsonObject, MapFunction mapFunction, Configuration configuration)Replaces the value on the given path with the result of theMapFunction.java.lang.ObjectMapFunction. map(java.lang.Object currentValue, Configuration configuration)static DocumentContextJsonPath. parse(java.io.File json, Configuration configuration)Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath. parse(java.io.InputStream json, Configuration configuration)Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath. parse(java.lang.Object json, Configuration configuration)Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath. parse(java.lang.String json, Configuration configuration)Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluationstatic DocumentContextJsonPath. parse(java.net.URL json, Configuration configuration)Parses the given JSON input using the providedConfigurationand returns aDocumentContextfor path evaluation<T> TJsonPath. put(java.lang.Object jsonObject, java.lang.String key, java.lang.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(java.io.File jsonFile, Configuration configuration)Applies this JsonPath to the provided json file<T> TJsonPath. read(java.io.InputStream jsonInputStream, Configuration configuration)Applies this JsonPath to the provided json input stream<T> TJsonPath. read(java.io.InputStream jsonInputStream, java.lang.String charset, Configuration configuration)Applies this JsonPath to the provided json input stream<T> TJsonPath. read(java.lang.Object jsonObject, Configuration configuration)Applies this JsonPath to the provided json document.<T> TJsonPath. read(java.lang.String json, Configuration configuration)Applies this JsonPath to the provided json string<T> TJsonPath. renameKey(java.lang.Object jsonObject, java.lang.String oldKeyName, java.lang.String newKeyName, Configuration configuration)private <T> TJsonPath. resultByConfiguration(java.lang.Object jsonObject, Configuration configuration, EvaluationContext evaluationContext)<T> TJsonPath. set(java.lang.Object jsonObject, java.lang.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 Configuration Modifier and Type Field Description private ConfigurationJsonContext. configurationMethods in com.jayway.jsonpath.internal that return Configuration Modifier and Type Method Description ConfigurationEvaluationContext. configuration()ConfigurationJsonContext. configuration()Methods in com.jayway.jsonpath.internal with parameters of type Configuration Modifier and Type Method Description abstract voidPathRef. add(java.lang.Object newVal, Configuration configuration)voidPathRef.ArrayIndexPathRef. add(java.lang.Object value, Configuration configuration)voidPathRef.ObjectMultiPropertyPathRef. add(java.lang.Object newVal, Configuration configuration)voidPathRef.ObjectPropertyPathRef. add(java.lang.Object value, Configuration configuration)voidPathRef.RootPathRef. add(java.lang.Object newVal, Configuration configuration)private <T> TJsonContext. convert(java.lang.Object obj, TypeRef<T> targetType, Configuration configuration)private <T> TJsonContext. convert(java.lang.Object obj, java.lang.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)EvaluationContextPath. evaluate(java.lang.Object document, java.lang.Object rootDocument, Configuration configuration)Evaluates this pathEvaluationContextPath. evaluate(java.lang.Object document, java.lang.Object rootDocument, Configuration configuration, boolean forUpdate)Evaluates this pathvoidPathRef.ArrayIndexPathRef. put(java.lang.String key, java.lang.Object value, Configuration configuration)voidPathRef.ObjectMultiPropertyPathRef. put(java.lang.String key, java.lang.Object newVal, Configuration configuration)voidPathRef.ObjectPropertyPathRef. put(java.lang.String key, java.lang.Object value, Configuration configuration)abstract voidPathRef. put(java.lang.String key, java.lang.Object newVal, Configuration configuration)voidPathRef.RootPathRef. put(java.lang.String key, java.lang.Object newVal, Configuration configuration)protected voidPathRef. renameInMap(java.lang.Object targetMap, java.lang.String oldKeyName, java.lang.String newKeyName, Configuration configuration)voidPathRef.ArrayIndexPathRef. renameKey(java.lang.String oldKeyName, java.lang.String newKeyName, Configuration configuration)voidPathRef.ObjectMultiPropertyPathRef. renameKey(java.lang.String oldKeyName, java.lang.String newKeyName, Configuration configuration)voidPathRef.ObjectPropertyPathRef. renameKey(java.lang.String oldKeyName, java.lang.String newKeyName, Configuration configuration)abstract voidPathRef. renameKey(java.lang.String oldKey, java.lang.String newKeyName, Configuration configuration)voidPathRef.RootPathRef. renameKey(java.lang.String oldKeyName, java.lang.String newKeyName, Configuration configuration)voidPathRef.ArrayIndexPathRef. set(java.lang.Object newVal, Configuration configuration)voidPathRef.ObjectMultiPropertyPathRef. set(java.lang.Object newVal, Configuration configuration)voidPathRef.ObjectPropertyPathRef. set(java.lang.Object newVal, Configuration configuration)voidPathRef.RootPathRef. set(java.lang.Object newVal, Configuration configuration)abstract voidPathRef. set(java.lang.Object newVal, Configuration configuration)Constructors in com.jayway.jsonpath.internal with parameters of type Configuration Constructor Description JsonContext(Configuration configuration)JsonContext(java.lang.Object json, Configuration configuration) -
Uses of Configuration in com.jayway.jsonpath.internal.path
Fields in com.jayway.jsonpath.internal.path declared as Configuration Modifier and Type Field Description private ConfigurationEvaluationContextImpl. configurationprivate ConfigurationPredicateContextImpl. configurationMethods in com.jayway.jsonpath.internal.path that return Configuration Modifier and Type Method Description ConfigurationEvaluationContextImpl. configuration()ConfigurationPredicateContextImpl. configuration()Methods in com.jayway.jsonpath.internal.path with parameters of type Configuration Modifier and Type Method Description booleanPredicatePathToken. accept(java.lang.Object obj, java.lang.Object root, Configuration configuration, EvaluationContextImpl evaluationContext)EvaluationContextCompiledPath. evaluate(java.lang.Object document, java.lang.Object rootDocument, Configuration configuration)EvaluationContextCompiledPath. evaluate(java.lang.Object document, java.lang.Object rootDocument, Configuration configuration, boolean forUpdate)Constructors in com.jayway.jsonpath.internal.path with parameters of type Configuration Constructor Description EvaluationContextImpl(Path path, java.lang.Object rootDocument, Configuration configuration, boolean forUpdate)PredicateContextImpl(java.lang.Object contextDocument, java.lang.Object rootDocument, Configuration configuration, java.util.HashMap<Path,java.lang.Object> documentPathCache) -
Uses of Configuration in com.jayway.jsonpath.spi.mapper
Methods in com.jayway.jsonpath.spi.mapper with parameters of type Configuration Modifier and Type Method Description <T> TGsonMappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)<T> TGsonMappingProvider. map(java.lang.Object source, java.lang.Class<T> targetType, Configuration configuration)<T> TJacksonMappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)<T> TJacksonMappingProvider. map(java.lang.Object source, java.lang.Class<T> targetType, Configuration configuration)<T> TJsonSmartMappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)<T> TJsonSmartMappingProvider. map(java.lang.Object source, java.lang.Class<T> targetType, Configuration configuration)<T> TMappingProvider. map(java.lang.Object source, TypeRef<T> targetType, Configuration configuration)<T> TMappingProvider. map(java.lang.Object source, java.lang.Class<T> targetType, Configuration configuration)
-