Merge pull request #14309 from tudormarc/tudor-jacksonjr2
Tudor jacksonjr2
This commit is contained in:
commit
be37c06262
|
@ -10,8 +10,8 @@ import java.time.LocalDate;
|
|||
|
||||
public class MyHandlerProvider extends ReaderWriterProvider {
|
||||
|
||||
public ValueWriter findValueWriter (JSONWriter writeContext,
|
||||
Class<?> type) {
|
||||
@Override
|
||||
public ValueWriter findValueWriter (JSONWriter writeContext, Class<?> type) {
|
||||
if (type == LocalDate.class) {
|
||||
return new CustomDateSerializer();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue