kotlinx.serialization icon indicating copy to clipboard operation
kotlinx.serialization copied to clipboard

Kotlin multiplatform / multi-format serialization

Results 460 kotlinx.serialization issues
Sort by recently updated
recently updated
newest added

**What is your use-case and why do you need this feature?** `@ProtoOneOf` was introduced in the last release, allowing us to define polymorphic classes in a protobuf way. However, it...

feature

I've only seen documentation for `.PROPERTY` and `.CLASS`.

feature
design

**What is your use-case and why do you need this feature?** We use `SealedClassSerializer` to manually generate `KSerializer`s for `sealed classes`/`sealed interfaces` that are out of our scope and cannot...

feature

I cannot find any sample converting `Map` and `List` to JSON and vice-versa with generics. Planning to migrate from Moshi to KotlinX Serialization as part of adapting KMM. Currently this...

question

**Describe the bug** Based on https://github.com/JetBrains/intellij-platform-plugin-template, I'm trying to use kotlinx.serialization for a plugin. However, despite multiple attempts with different configurations, I cannot make the plugin to get installed properly:...

question
third party problem

Let's suppose I have this class ```kotlin @Serializable class Settings( val uiScale:Float=1f, val theme:String="dark", ) ``` I have serialized this class to a file which the result is ```json {...

question

**What is your use-case and why do you need this feature?** We are building a platform that implements OCPI (a protocol that is used in the EV industry). Even though...

feature

**What is your use-case and why do you need this feature?** When you use JsonContentPolymorphicSerializer, it's impossible to specify a list of shapes you expect, while it's still useful for...

feature
design