Package com.fasterxml.jackson.jaxrs.cbor

Jackson-based JAX-RS provider that can automatically serialize and deserialize resources for Compact Binary Object Representation (CBOR) content type (MediaType).

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

There are two default provider classes:

  • JacksonCBORProvider is the basic provider configured to use Jackson annotations
  • JacksonJaxbCBORProvider is extension of the basic provider, configured to additionally use JAXB annotations, in addition to (or in addition of, if so configured) Jackson annotations.