Package org.codehaus.jackson.map.annotate
Annotations that directly depend on Mapper classes (not just
Jackson core) and are used for configuring Data Mapping functionality.
-
Class Summary Class Description NoClass Marker class used with annotations to indicate "no class". -
Enum Summary Enum Description JsonSerialize.Inclusion Enumeration used withJsonSerialize.include()
property to define which properties of Java Beans are to be included in serializationJsonSerialize.Typing Enumeration used withJsonSerialize.typing()
property to define whether type detection is based on dynamic runtime type (DYNAMIC) or declared type (STATIC). -
Annotation Types Summary Annotation Type Description JacksonInject Jackson-specific annotation used for indicating that value of annotated property will be "injected", i.e.JacksonStdImpl Marker interface used to indicate implementation classes (serializers, deserializers etc) that are standard ones Jackson uses; not custom ones that application has added.JsonCachable Marker annotation used to denote whether given instance (currently only used withJsonDeserializer
) can be cached.JsonDeserialize Annotation use for configuring deserialization aspects, by attaching to "setter" methods or fields, or to value classes.JsonFilter Annotation used to indicate which logical filter is to be used for filtering out properties of type (class) annotated; association made by this annotation declaring ids of filters, andObjectMapper
(or objects it delegates to) providing matching filters by id.JsonRootName Annotation similar toXmlRootElement
, used to indicate name to use for root-level wrapping, if wrapping is enabled.JsonSerialize Annotation used for configuring serialization aspects, by attaching to "getter" methods or fields, or to value classes.JsonTypeIdResolver Annotation that can be used to plug a custom type identifier handler (TypeIdResolver
) to be used byTypeSerializer
s andTypeDeserializer
s for converting between java types and type id included in JSON content.JsonTypeResolver Annotation that can be used to explicitly define custom resolver used for handling serialization and deserialization of type information, needed for handling of polymorphic types (or sometimes just for linking abstract types to concrete types)JsonValueInstantiator Annotation that can be used to indicate aValueInstantiator
to use for creating instances of specified type.JsonView Annotation used for indicating view(s) that the property that is defined by method or field annotated is part of.