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: Instance dependencies

Cyclic dependencies are tricky things to handle. Jackson offers some annotation-based support for handling them:

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


CategoryJackson

JacksonAnnotations (last edited 2012-01-17 20:22:23 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC