@JsonbAnnotation @Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE,FIELD,METHOD}) public @interface JsonbTypeAdapter
Annotation provides way how to set custom JsonbAdapter to field or JavaBean property.
Usage
The @JsonbTypeAdapter
annotation can be used with the following program elements:
Modifier and Type | Required Element | Description |
---|---|---|
Class<? extends JsonbAdapter> |
value |
Custom JsonbAdapter which provides custom mapping for given field or JavaBean property.
|
Class<? extends JsonbAdapter> value
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.