Package com.fasterxml.jackson.dataformat.xml.annotation
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 TypesClassDescriptionAdding this annotation will result in value of the property to be serialized within an xml
CDATAsection.Annotation that is similar to JAXBjakarta.xml.bind.annotation.XmlElementWrapper, to indicate wrapper element to use (if any) for Collection types (arrays,Collection).Annotation that can be used to provide XML-specific configuration for properties, above and beyond whatJsonPropertycontains.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).Interface that is loosely similar tojakarta.xml.bind.annotation.XmlValuein that it can be used on one (and only one!) property of a POJO.