Jackson-based JAX-RS provider that can automatically serialize and deserialize resources for JSON content type (MediaType).

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

There are two default provider classes:

  • JacksonJsonProvider is the basic provider configured to use Jackson annotations
  • JacksonJaxbJsonProvider is extension of the basic provider, configured to additionally use JAXB annotations, in addition to (or in addition of, if so configured) Jackson annotations.
/** * Jackson-based JAX-RS provider that can automatically * serialize and deserialize resources for * JSON content type (MediaType). *<p> * Also continues supporting functionality, such as * exception mappers that can simplify handling of * error conditions. *<p> * There are two default provider classes: *<ul> * <li>{@link com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider} is the basic * provider configured to use Jackson annotations * </li> * <li>{@link com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider} is extension * of the basic provider, configured to additionally use JAXB annotations, * in addition to (or in addition of, if so configured) Jackson annotations. * </li> * </ul> */
package com.fasterxml.jackson.jaxrs.json;