Annotation Type JacksonXmlRootElement
-
@Target(TYPE) @Retention(RUNTIME) 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). It is similar to JAXBXmlRootElement
.