Marcin Wisniowski

    Marcin Wisniowski

    2 years ago
    Hello, I am trying to serialize a data class containing a
    java.time.Duration
    , but it doesn't work (
    java.time.Instant
    works fine), do I need to write a custom serializer? How can I serialize a Duration?
    Solved this by writing a custom serializer. ✔️