org.codehaus.jackson.map.annotate
Annotation Type JsonCachable


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @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
 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.
 

value

public abstract 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.

Default:
true