Package com.fasterxml.jackson.module.jaxb

Package that contains support for using JAXB annotations for configuring Jackson data-binding aspects.

See:
          Description

Class Summary
JaxbAnnotationIntrospector Annotation introspector that leverages JAXB annotations where applicable to JSON mapping.
JaxbAnnotationModule Module that can be registered to add support for JAXB annotations.
 

Enum Summary
JaxbAnnotationModule.Priority Enumeration that defines how we use JAXB Annotations: either as "primary" annotations (before any other already configured introspector -- most likely default JacksonAnnotationIntrospector) or as "secondary" annotations (after any other already configured introspector(s)).
 

Package com.fasterxml.jackson.module.jaxb Description

Package that contains support for using JAXB annotations for configuring Jackson data-binding aspects.

Usage is by registering JaxbAnnotationModule:

  ObjectMapper mapper = new ObjectMapper();
  mapper.registerModule(new JaxbAnnotationModule());



Copyright © 2012 FasterXML. All Rights Reserved.