-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
documentationInvolves the spec or javadocsInvolves the spec or javadocs
Description
From the specification:
There are two ways how to register JsonbAdapter:
- Using JsonbConfig::withAdapters method;
- Annotating a class field with JsonbTypeAdapter annotation.
However, the JsonbTypeAdapter annotation has as possible targets ANNOTATION_TYPE
, TYPE
, FIELD
, METHOD
, which means that you can also annotate a class itself with this annotation and not just a class field.
I'm being a bit pedantic, but I thought I'd create an issue so this can be clarified in future versions of the specification.
Metadata
Metadata
Assignees
Labels
documentationInvolves the spec or javadocsInvolves the spec or javadocs