@JsonbAnnotation @Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,METHOD,FIELD,PARAMETER}) public @interface JsonbProperty
Allows customization of field (or JavaBean property) name.This name is used either in serialization or in deserialization.
Usage
The @JsonbProperty
annotation can be used with the following program elements:
Modifier and Type | Optional Element and Description |
---|---|
boolean |
nillable
Deprecated.
Please use
JsonbNillable as another annotation instead. This option will be removed in the future. |
java.lang.String |
value
Customized name of the field (or JavaBean property).
|
public abstract java.lang.String value
@Deprecated public abstract boolean nillable
JsonbNillable
as another annotation instead. This option will be removed in the future.