JsonAppend.Attr
Date: 2016-12-04

com.fasterxml.jackson.databind.annotation

## Annotation Type JsonAppend.Attr

-     public static @interface JsonAppend.Attr

  Definition of a single attribute-backed property. Attribute-backed properties will be appended after (or prepended before, as per `JsonAppend.prepend()`) regular properties in specified order, although their placement may be further changed by the usual property-ordering functionality (alphabetic sorting; explicit ordering)

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `java.lang.String` | `value` Name of attribute of which value to serialize.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `com.fasterxml.jackson.annotation.JsonInclude.Include` | `include` When to include attribute-property.
    `java.lang.String` | `propName` Name to use for serializing value of the attribute; if not defined, `value()` will be used instead.
    `java.lang.String` | `propNamespace` Optional namespace to use; only relevant for data formats that use namespaces (like XML).
    `boolean` | `required` Metadata about property, similar to `JsonProperty.required()`.

- - ### Element Detail

    - #### value

          public abstract java.lang.String value

      Name of attribute of which value to serialize. Is also used as the name of external property to write, unless overridden by assigning a value for `propName()`.

    - #### propName

          public abstract java.lang.String propName

      Name to use for serializing value of the attribute; if not defined, `value()` will be used instead.
      Default:
        ""

    - #### propNamespace

          public abstract java.lang.String propNamespace

      Optional namespace to use; only relevant for data formats that use namespaces (like XML).
      Default:
        ""

    - #### include

          public abstract com.fasterxml.jackson.annotation.JsonInclude.Include include

      When to include attribute-property. Default value indicates that property should only be written if specified attribute has a non-null value.
      Default:
        com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL

    - #### required

          public abstract boolean required

      Metadata about property, similar to `JsonProperty.required()`.
      Default:
        false