@Target(value=TYPE) @Retention(value=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.
限定符和类型 | 可选元素和说明 |
---|---|
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.
|