Jackson Core (Data-Binding) Annotations

Here is a brief outline of Jackson annotations that exist as of version 1.5.

Annotation class: general

Annotation class: Polymorphic type handling

Starting with version 1.5, Jackson allows fully configurable Polymorphic Type Handling, using following annotations:

Annotation class: serialization

Jackson 1.0 also defined following legacy annotations

Annotation class: deserialization

Jackson 1.0 also defined following legacy annotations:

Regarding type-definining annotations: since annotations can not defined Generic type information, but formal declarations can, the actual type information will be a combination of the two: for example, if formal type is _List<String>_, and one of annotations above defines real class to be _ArrayList_, actual type used would be _ArrayList<String>_.

See also

As of Jackson 1.1, it is also possible to use JAXB annotations in addition to or instead of these core annotations.


CategoryJackson

JacksonAnnotations (last edited 2010-04-09 22:24:29 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC