Package com.fasterxml.jackson.jaxrs.xml


package com.fasterxml.jackson.jaxrs.xml
Jackson-based JAX-RS provider that can automatically serialize and deserialize resources for XML content type (MediaType).

Also continues supporting functionality, such as exception mappers that can simplify handling of error conditions.

There are two default provider classes:

  • JacksonXMLProvider is the basic provider configured to use Jackson annotations
  • JacksonJaxbXMLProvider is extension of the basic provider, configured to additionally use JAXB annotations, in addition to (or in addition of, if so configured) Jackson annotations.
  • Classes
    Class
    Description
    JSON content type provider automatically configured to use both Jackson and JAXB annotations (in that order of priority).
    Basic implementation of JAX-RS abstractions (MessageBodyReader, MessageBodyWriter) needed for binding JSON ("application/json") content to and from Java Objects ("POJO"s).
    Automatically generated from PackageVersion.java.in during packageVersion-generate execution of maven-replacer-plugin in pom.xml.
    Container class for figuring out annotation-based configuration for JAX-RS end points.
    Helper class used to encapsulate details of configuring an XmlMapper instance to be used for data binding, as well as accessing it.