How would I go about serializing LocalDateTime
using kotlinx serializer
I've read that I would need to include implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0")
in my dependencies, which I did, but I'm still getting this error:
Serializer has not been found for type 'LocalDateTime'. To use context serializer as fallback, explicitly annotate type or property with @Contextual
Is there something else I should also imported in the same script?
Thanks for your time.