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

Introduces a new CBOR configuration option called `untaggedNullValueTags`. When enabled, CBOR value-tags will not be serialized for `null` values, and deserialization will not fail validation. This is allowed by the...

cbor

If a decoded byte sequence contains unexpected tag, a `CborDecodingException` with a message like `Expected start of array, but found 40` will be thrown. Such messages could be improved to...

feature
cbor

There are some pain points I run into with nullability, and I'm curious where the nullable APIs stand and what the thoughts currently are around them since some are still...

Problem Statement: The Annotation Intrusiveness Dilemma Currently, Kotlinx Serialization follows an intrusive approach where classes must be annotated with @Serializable to enable serialization. This creates several ecosystem challenges: The Real-world...

feature

**What is your use-case and why do you need this feature?** [decodeFromDynamic](https://kotlinlang.org/api/kotlinx.serialization/kotlinx-serialization-json/kotlinx.serialization.json/decode-from-dynamic.html) doesn't seem to be available in WasmJs source set (only on Js) **Describe the solution you'd like** Same...

feature

**What is your use-case and why do you need this feature?** When generating a schema from descriptors, or working with the descriptor tree in other ways (like my particular use-case:...

feature

In Toolbox we parse HUGE json. Once parsed, it allocates too much memory. Right now, the default `ArrayList` is used, it allocates 10 elements, but most of the time it...

feature

**Describe the bug** I previously reported a [bug](https://github.com/Kotlin/kotlinx.serialization/issues/2953). Simply put, when a class with generics has a field whose type is a generic interface, and the implementing class of the...

bug

When deserializing enum values, it would be useful to specify a fallback value, in case a remote API introduces a new value for the enum. Example: ```kotlin enum class Color...

feature

**Describe the bug** When initializing a Json instance with a SerializersModule that includes a custom KSerializer, a class initialization deadlock can occur, leading to an ANR (Application Not Responding) on...