public static @interface JsonAppend.Attr
JsonAppend.prepend()
) regular properties
in specified order, although their placement may be further changed
by the usual property-ordering functionality (alphabetic sorting;
explicit ordering)Modifier and Type | Required Element and Description |
---|---|
String |
value
Name of attribute of which value to serialize.
|
Modifier and Type | Optional Element and Description |
---|---|
JsonInclude.Include |
include
When to include attribute-property.
|
String |
propName
Name to use for serializing value of the attribute; if not defined,
value() will be used instead. |
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() . |
public abstract String value
propName()
.public abstract String propNamespace
public abstract JsonInclude.Include include
public abstract boolean required
JsonProperty.required()
.Copyright © 2018 JBoss by Red Hat. All rights reserved.