You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is your use-case and why do you need this feature?
We use a lot of java.time.OffsetDateTime which it is a bit cumbersome to have to annotate separately with a custom serializer like @Serializable(KOffsetDateTimeSerializer::class).
Describe the solution you'd like
It would be useful to have a special org.jetbrains.kotlinx:kotlinx-serialization-jvmtime dependency which automatically adds serializers to handle some very common classes from the java8 java.time module.
The text was updated successfully, but these errors were encountered:
Currently, it is possible only with @file:UseSerializers annotation. For module-wide options / auto-including from dependency, there is a separate issue: #507
What is your use-case and why do you need this feature?
We use a lot of
java.time.OffsetDateTime
which it is a bit cumbersome to have to annotate separately with a custom serializer like@Serializable(KOffsetDateTimeSerializer::class)
.Describe the solution you'd like
It would be useful to have a special
org.jetbrains.kotlinx:kotlinx-serialization-jvmtime
dependency which automatically adds serializers to handle some very common classes from the java8 java.time module.The text was updated successfully, but these errors were encountered: