Uses of Annotation Interface
org.codehaus.jackson.annotate.JacksonAnnotation
Packages that use JacksonAnnotation
Package
Description
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
Annotations that directly depend on Mapper classes (not just
Jackson core) and are used for configuring Data Mapping functionality.
Classes needed for JSON schema support (currently just ability
to generate schemas using serialization part of data mapping)
-
Uses of JacksonAnnotation in org.codehaus.jackson.annotate
Classes in org.codehaus.jackson.annotate with annotations of type JacksonAnnotationModifier and TypeClassDescription@interface
Marker annotation that can be used to define a non-static, no-argument method or member field as something of a reverse ofJsonAnySetter
method; basically being used like a getter but such that contents of the returned Map (type must beMap
) are serialized as if they were actual properties of the bean that contains method/field with this annotations.@interface
Marker annotation that can be used to define a non-static, single-argument method, to be used as a "fallback" handler for all otherwise unrecognized properties found from Json content.@interface
Class annotation that can be used to define which kinds of Methods are to be detected by auto-detection.@interface
Annotation used to indicate that associated property is part of two-way linkage between fields; and that its role is "child" (or "back") link.@interface
Marker annotation that can be used to define constructors and factory methods as one to use for instantiating new instances of the associated class.@interface
Deprecated.@interface
Marker annotation that indicates that the annotated method or field is to be ignored by introspection-based serialization and deserialization functionality.@interface
Annotation that can be used to either suppress serialization of properties (during serialization), or ignore processing of JSON properties read (during deserialization).@interface
Marker annotation that indicates that all properties of annotated type are to be ignored during serialization and deserialization.@interface
Annotation used to indicate that annotated property is part of two-way linkage between fields; and that its role is "parent" (or "forward") link.@interface
Marker annotation that can be used to define a non-static method as a "setter" or "getter" for a logical property (depending on its signature), or non-static object field to be used (serialized, deserialized) as a logical property.@interface
Annotation that can be used to define ordering (possibly partial) to use when serializing object properties.@interface
Marker annotation that indicates that the annotated method or field should be serialized by including literal String value of the property as is, without quoting of characters.@interface
Marker annotation that can be used to define a non-static, single-argument method to be used as a "setter" for a logical property as an alternative to recommendedJsonProperty
annotation (which was introduced in version 1.1).@interface
Annotation used withJsonTypeInfo
to indicate sub types of serializable polymorphic types, and to associate logical names used within JSON content (which is more portable than using physical Java class names).@interface
Annotation used for configuring details of if and how type information is used with JSON serialization and deserialization, to preserve information about actual class of Object instances.@interface
Annotation used for binding logical name that the annotated class has.@interface
Annotation used to indicate that a property should be serialized "unwrapped"; that is, if it would be serialized as JSON Object, its properties are instead included as properties of its containing Object.@interface
Marker annotation similar toXmlValue
that indicates that results of the annotated "getter" method (which means signature must be that of getters; non-void return type, no args) is to be used as the single value to serialize for the instance.@interface
Deprecated.(since 1.6) Currently recommended annotation to use isJsonSerialize.include()
(with valuesALWAYS
orNON_NULL
) -
Uses of JacksonAnnotation in org.codehaus.jackson.map.annotate
Classes in org.codehaus.jackson.map.annotate with annotations of type JacksonAnnotationModifier and TypeClassDescription@interface
Jackson-specific annotation used for indicating that value of annotated property will be "injected", i.e.@interface
Marker interface used to indicate implementation classes (serializers, deserializers etc) that are standard ones Jackson uses; not custom ones that application has added.@interface
Marker annotation used to denote whether given instance (currently only used withJsonDeserializer
) can be cached.@interface
Annotation use for configuring deserialization aspects, by attaching to "setter" methods or fields, or to value classes.@interface
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.@interface
Annotation similar toXmlRootElement
, used to indicate name to use for root-level wrapping, if wrapping is enabled.@interface
Annotation used for configuring serialization aspects, by attaching to "getter" methods or fields, or to value classes.@interface
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.@interface
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)@interface
Annotation that can be used to indicate aValueInstantiator
to use for creating instances of specified type.@interface
Annotation used for indicating view(s) that the property that is defined by method or field annotated is part of. -
Uses of JacksonAnnotation in org.codehaus.jackson.schema
Classes in org.codehaus.jackson.schema with annotations of type JacksonAnnotationModifier and TypeClassDescription@interface
Annotation that can be used to define JSON Schema definition for the annotated class.
JsonProperty
instead (deprecated since version 1.5)