Package com.fasterxml.jackson.jaxrs.yaml

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

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

There are two default provider classes:

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