Package com.jayway.jsonpath.spi.cache
Interface Cache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonPathget(java.lang.String key)Get the Cached JsonPathvoidput(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
-
-