Skip to content

JacksonAnnotations

Tatu Saloranta edited this page Nov 19, 2013 · 10 revisions

Jackson Annotations

Multiple sets of annotations may be used to configure how Jackson databinding works. Document is split along the lines of Jackson component that defines annotations and/or adds support for handling annotations.

  • Core Jackson annotations are defined by jackson-annotations core component, which has no dependencies to any other package
  • Jackson Databind annotations are defined by jackson-databind and depend on types of jackson-core and jackson-annotations
  • Support for JAXB annotations is optional add-on, usually used when handling XML, or when using Java Object generated using JAXB tools (usually from XML Schema definitions)