Top Description Annotations
module jackson.dataformat.xml

Package com.fasterxml.jackson.dataformat.xml.annotation


Package that contains additional annotations that can be used to configure XML-specific aspects of serialization and deserialization

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
JacksonXmlCData

Adding this annotation will result in value of the property to be serialized within an xml CDATA section.

public @interface
JacksonXmlElementWrapper

Annotation that is similar to JAXB jakarta.xml.bind.annotation.XmlElementWrapper, to indicate wrapper element to use (if any) for Collection types (arrays, java.util.Collection).

public @interface
JacksonXmlProperty

Annotation that can be used to provide XML-specific configuration for properties, above and beyond what com.fasterxml.jackson.annotation.JsonProperty contains.

public @interface
JacksonXmlRootElement

Annotation that can be used to define name of root element used for the root-level object when serialized, which normally uses name of the type (class).

public @interface
JacksonXmlText

Interface that is loosely similar to jakarta.xml.bind.annotation.XmlValue in that it can be used on one (and only one!) property of a POJO.