Uses of Class
com.jayway.jsonpath.JsonPath
-
Packages that use JsonPath Package Description com.jayway.jsonpath com.jayway.jsonpath.internal com.jayway.jsonpath.spi.cache -
-
Uses of JsonPath in com.jayway.jsonpath
Methods in com.jayway.jsonpath that return JsonPath Modifier and Type Method Description static JsonPathJsonPath. compile(java.lang.String jsonPath, Predicate... filters)Compiles a JsonPathMethods in com.jayway.jsonpath with parameters of type JsonPath Modifier and Type Method Description DocumentContextWriteContext. add(JsonPath path, java.lang.Object value)Add value to array at the given pathDocumentContextWriteContext. delete(JsonPath path)Deletes the given pathDocumentContextWriteContext. map(JsonPath path, MapFunction mapFunction)Replaces the value on the given path with the result of theMapFunction.DocumentContextWriteContext. put(JsonPath path, java.lang.String key, java.lang.Object value)Add or update the key with a the given value at the given path<T> TReadContext. read(JsonPath path)Reads the given path from this context<T> TReadContext. read(JsonPath path, TypeRef<T> typeRef)Reads the given path from this context Sample code to create a TypeRefTypeRef ref = new TypeRef- >() {};
<T> TReadContext. read(JsonPath path, java.lang.Class<T> type)Reads the given path from this contextDocumentContextWriteContext. renameKey(JsonPath path, java.lang.String oldKeyName, java.lang.String newKeyName)Renames the last key element of a given path.DocumentContextWriteContext. set(JsonPath path, java.lang.Object newValue)Set the value a the given path -
Uses of JsonPath in com.jayway.jsonpath.internal
Methods in com.jayway.jsonpath.internal with parameters of type JsonPath Modifier and Type Method Description DocumentContextJsonContext. add(JsonPath path, java.lang.Object value)DocumentContextJsonContext. delete(JsonPath path)DocumentContextJsonContext. map(JsonPath path, MapFunction mapFunction)DocumentContextJsonContext. put(JsonPath path, java.lang.String key, java.lang.Object value)<T> TJsonContext. read(JsonPath path)<T> TJsonContext. read(JsonPath path, TypeRef<T> type)<T> TJsonContext. read(JsonPath path, java.lang.Class<T> type)DocumentContextJsonContext. renameKey(JsonPath path, java.lang.String oldKeyName, java.lang.String newKeyName)DocumentContextJsonContext. set(JsonPath path, java.lang.Object newValue) -
Uses of JsonPath in com.jayway.jsonpath.spi.cache
Fields in com.jayway.jsonpath.spi.cache with type parameters of type JsonPath Modifier and Type Field Description private java.util.Map<java.lang.String,JsonPath>LRUCache. mapMethods in com.jayway.jsonpath.spi.cache that return JsonPath Modifier and Type Method Description JsonPathCache. get(java.lang.String key)Get the Cached JsonPathJsonPathLRUCache. get(java.lang.String key)JsonPathNOOPCache. get(java.lang.String key)JsonPathLRUCache. getSilent(java.lang.String key)Methods in com.jayway.jsonpath.spi.cache with parameters of type JsonPath Modifier and Type Method Description voidCache. put(java.lang.String key, JsonPath value)Add JsonPath to the cachevoidLRUCache. put(java.lang.String key, JsonPath value)voidNOOPCache. put(java.lang.String key, JsonPath value)
-