Package com.fasterxml.jackson.jakarta.rs.yaml


package com.fasterxml.jackson.jakarta.rs.yaml
Jackson-based Jakarta-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
  • JacksonXmlBindYAMLProvider is extension of the basic provider, configured to additionally use Jakarta XmlBind 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 Jakarta XmlBind annotations (in that order of priority).
    Basic implementation of Jakarta-RS abstractions (MessageBodyReader, MessageBodyWriter) needed for binding YAML 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 Jakarta-RS end points.
    Helper class used to encapsulate details of configuring an YAMLMapper instance to be used for data binding, as well as accessing it.