https://kotlinlang.org logo
#kmongo
Title
m

melatonina

02/14/2020, 10:12 PM
Hello. I'm trying to use kmongo-serializer. How am I supposed to use date types, like Instant? Kotlin serialization does not provide default serializers for those types. Is there a specific way in which I should serialize them? https://litote.org/kmongo/object-mapping/#date-support does not contain any information about that.
v

Vinicius Araujo

05/22/2020, 5:53 PM
Try using Jackson instead. its the most mature lib for it, problably already has a converter for this type
7 Views