- Enclosing class:
Json
@Retention(CLASS)
@Target({TYPE,TYPE_USE,FIELD,METHOD,PARAMETER})
public static @interface Json.Converter
Specifies a custom converter class for a type, field, method, or parameter.
The class specified by this annotation must have a public or package-private no-arg constructor.
Helidon uses this constructor to instantiate the converter.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends JsonConverter<?>> The converter class to use.
-
Element Details
-
value
Class<? extends JsonConverter<?>> valueThe converter class to use.- Returns:
- the converter class
-