Skip to content

Serializers for java.time.*  #6

@aSemy

Description

@aSemy

Kotlin/kotlinx.serialization#1806

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions