Package org.glassfish.jersey.jackson.internal.jackson.jaxrs.json
package org.glassfish.jersey.jackson.internal.jackson.jaxrs.json
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 annotationsJacksonJaxbJsonProvider
is extension of the basic provider, configured to additionally use JAXB annotations, in addition to (or in addition of, if so configured) Jackson annotations.
-
ClassDescriptionJSON 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).Container class for figuring out annotation-based configuration for JAX-RS end points.Helper class used to encapsulate details of configuring anObjectMapper
instance to be used for data binding, as well as accessing it.Automatically generated from PackageVersion.java.in during packageVersion-generate execution of maven-replacer-plugin in pom.xml.