Package com.jayway.jsonpath.spi.cache
Interface Cache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonPath
get(java.lang.String key)
Get the Cached JsonPathvoid
put(java.lang.String key, JsonPath value)
Add JsonPath to the cache
-
-
-
Method Detail
-
get
JsonPath get(java.lang.String key)
Get the Cached JsonPath- Parameters:
key
- cache key to lookup the JsonPath- Returns:
- JsonPath
-
put
void put(java.lang.String key, JsonPath value)
Add JsonPath to the cache- Parameters:
key
- cache key to store the JsonPathvalue
- JsonPath to be cached- Throws:
InvalidJsonException
-
-