I am struggling with mentioned in the question issue.
I need to create some custom deserializer which is more or less type conversion from the standard deserializer (reason is that ZonedDateTime
is working for my input, but I don't want to change the type to ZonedDateTime
, but keep LocalDateTime
).
Bascially what I want to do in my deserializer is to:
- Deserialize using
ZonedDateTime
deserializer (which I found, in reality, is customInstantDeserializer
) - Use
.toLocalDateTime
and return it.
How can I use it? Was trying to find it but I can't.