Annotation Interface JsonbTypeSerializer


@JsonbAnnotation @Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE,FIELD,METHOD}) public @interface JsonbTypeSerializer

Annotation provides way how to set custom JsonbSerializer to field or JavaBean property.

Usage

The @JsonbSerializer annotation can be used with the following program elements:

  • type
  • field
  • method
Since:
JSON Binding 1.0
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Custom JsonbSerializer which provides custom mapping for given field or JavaBean property.
  • Element Details