Annotation Interface JsonCachable
Marker annotation used to denote whether given instance
(currently only used with
JsonDeserializer
)
can be cached.
Default action to take in absence of annotation depends on object using annotation; with deserializers default is to assume instances are not cachable.
- Since:
- 1.1
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Default value is true, giving semantics for parameterless tag instance such that empty instance indicates that instances of annotated class are indeed cachable.
-
Element Details
-
value
boolean valueDefault value is true, giving semantics for parameterless tag instance such that empty instance indicates that instances of annotated class are indeed cachable.- Default:
- true
-