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 JAXB XmlRootElement.
    • Element Detail

      • namespace

        String namespace
        Default:
        ""
      • localName

        String localName
        Default:
        ""