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