Package jakarta.json.bind.annotation
Annotation Interface JsonbTypeDeserializer
@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:
- type
- field
- method
- Since:
- JSON Binding 1.0
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends JsonbDeserializer>
CustomJsonbDeserializer
which provides custom mapping for given field or JavaBean property.
-
Element Details
-
value
Class<? extends JsonbDeserializer> valueCustomJsonbDeserializer
which provides custom mapping for given field or JavaBean property.- Returns:
- Deserializer to use.
-