@Retention(value=RUNTIME)
@Target(value={FIELD,TYPE,METHOD})
public @interface Property
Modifier and Type | Optional Element and Description |
---|---|
boolean |
alwaysWrite |
boolean |
assertIfNoBindings
Whether to assert that class has at least one serializable property.
|
java.lang.Class<? extends SerializationFilter> |
filter |
boolean |
flat
Serialize into parent element.
|
Property.Style |
style
Applicable only on class level.
|
boolean |
surroundWithTag |
public abstract boolean flat
public abstract java.lang.Class<? extends SerializationFilter> filter
public abstract Property.Style style