@Target(TYPE)
@Retention(RUNTIME)
public @interface JsonCachable
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.
Modifier and Type | Optional Element | Description |
---|---|---|
boolean |
value |
Default value is true, giving semantics for parameterless tag instance
such that empty instance indicates that instances of annotated class
are indeed cachable.
|