@Target(value=TYPE) @Retention(value=CLASS) public @interface JsonConverter
@JsonConverter(target=Date.class)
public abstract DateConverter {
public static JsonReader.ReadObject<Date> JSON_READER = ...
public static JsonWriter.WriteObject<Date> JSON_WRITER = ...
}
Date type will be one of the supported types.public abstract Class target
Copyright © 2023. All rights reserved.