Annotation Type JacksonXmlProperty


  • @Target({FIELD,METHOD,PARAMETER})
    @Retention(RUNTIME)
    public @interface JacksonXmlProperty
    Annotation that can be used to provide XML-specific configuration for properties, above and beyond what JsonProperty contains. It is an alternative to using JAXB annotations.
    • Element Detail

      • isAttribute

        boolean isAttribute
        Default:
        false
      • namespace

        String namespace
        Default:
        ""
      • localName

        String localName
        Default:
        ""