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 JsonPath
JsonPath. compile(java.lang.String jsonPath, Predicate... filters)
Compiles a JsonPathMethods in com.jayway.jsonpath with parameters of type JsonPath Modifier and Type Method Description DocumentContext
WriteContext. add(JsonPath path, java.lang.Object value)
Add value to array at the given pathDocumentContext
WriteContext. delete(JsonPath path)
Deletes the given pathDocumentContext
WriteContext. map(JsonPath path, MapFunction mapFunction)
Replaces the value on the given path with the result of theMapFunction
.DocumentContext
WriteContext. 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> T
ReadContext. read(JsonPath path)
Reads the given path from this context<T> T
ReadContext. read(JsonPath path, TypeRef<T> typeRef)
Reads the given path from this context Sample code to create a TypeRefTypeRef ref = new TypeRef
- >() {};
<T> T
ReadContext. read(JsonPath path, java.lang.Class<T> type)
Reads the given path from this contextDocumentContext
WriteContext. renameKey(JsonPath path, java.lang.String oldKeyName, java.lang.String newKeyName)
Renames the last key element of a given path.DocumentContext
WriteContext. 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 DocumentContext
JsonContext. add(JsonPath path, java.lang.Object value)
DocumentContext
JsonContext. delete(JsonPath path)
DocumentContext
JsonContext. map(JsonPath path, MapFunction mapFunction)
DocumentContext
JsonContext. put(JsonPath path, java.lang.String key, java.lang.Object value)
<T> T
JsonContext. read(JsonPath path)
<T> T
JsonContext. read(JsonPath path, TypeRef<T> type)
<T> T
JsonContext. read(JsonPath path, java.lang.Class<T> type)
DocumentContext
JsonContext. renameKey(JsonPath path, java.lang.String oldKeyName, java.lang.String newKeyName)
DocumentContext
JsonContext. 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. map
Methods in com.jayway.jsonpath.spi.cache that return JsonPath Modifier and Type Method Description JsonPath
Cache. get(java.lang.String key)
Get the Cached JsonPathJsonPath
LRUCache. get(java.lang.String key)
JsonPath
NOOPCache. get(java.lang.String key)
JsonPath
LRUCache. getSilent(java.lang.String key)
Methods in com.jayway.jsonpath.spi.cache with parameters of type JsonPath Modifier and Type Method Description void
Cache. put(java.lang.String key, JsonPath value)
Add JsonPath to the cachevoid
LRUCache. put(java.lang.String key, JsonPath value)
void
NOOPCache. put(java.lang.String key, JsonPath value)
-