Class AnnotationJsonSerializer

java.lang.Object
net.jacobpeterson.jet.openapiannotationsplugin.gson.serializer.annotation.AnnotationJsonSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Annotation>

@NullMarked public class AnnotationJsonSerializer extends Object implements com.google.gson.JsonSerializer<Annotation>
AnnotationJsonSerializer is a JsonSerializer for Annotation that uses reflection to invoke the Class.getDeclaredMethods() of the Annotation.annotationType() and uses reflection to handle SerializedName, AnnotationJsonIgnore, AnnotationJsonSerializeEmptyArray, AnnotationJsonObjectInline, AnnotationArrayIsNullableValue, AnnotationJsonRawString, AnnotationArrayIsMap, and AnnotationArrayIsMapKey.