Gson 2.8.1 add the ability to provide an object in the @JsonAdapater that implemented JsonSerializer and/or JsonDeserializer. Right now @GsonTypeAdapter only accepts TypeAdapters. It would be great if GsonTypeAdapter was expanded to accept JsonSerializer/JsonDeserializer or a new annotation was added to support this.
Gson 2.8.1 add the ability to provide an object in the
@JsonAdapater
that implemented JsonSerializer and/or JsonDeserializer. Right now@GsonTypeAdapter
only accepts TypeAdapters. It would be great if GsonTypeAdapter was expanded to accept JsonSerializer/JsonDeserializer or a new annotation was added to support this.