I’m having an issue with spring boot and serialization with kotlinx-datetime. for an Instant it will use the correct KSerializer class and deserialize “2023-09-30T172106.219Z”, however when it goes to serialize the Instant it outputs
any ideas as to why it wouldn’t be using the correct serializer? I think it’s switching back to jackson for serialization
Kyle
09/30/2023, 5:57 PM
yep, it’s definitely jumping back to jackson for serialization and some of my dependencies rely on jackson so I can’t take it off the classpath. any ideas?
h
Humphrey
10/01/2023, 9:15 AM
I think there is a Jackson-Kotlin library you have to put on your classpath.