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

Currently, `kotlinx.serialization` requires two components to function -- applied serialization plugin and the runtime JAR added to dependencies. For newcomers, steepness of the general learning curve and build configuration, two-step...

feature
compiler-plugin

and last instances of @Suppress(INVISIBLE_REFERENCE) in production code.

**What is your use-case and why do you need this feature?** [Delegating serializers](https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md#delegating-serializers) are common feature, but it's quite boilerplatish to use. Maybe we can implement some API, which would...

feature

I’m using kotlinx.serialization on Kotlin/JS. I wrote some code that did something like this: ``` val value = 1L val jsonElement = Json.encodeToJsonElement(value) val dynamic = Json.encodeToDynamic(jsonElement) ``` (In my...

feature

**What is your use-case and why do you need this feature?** I support a format where `Nothing` in its schema is meaningful, e.g. `List` is encoded differently than an empty...

feature

**Describe the bug** When deserializing, Transit field of parent class use its default value ​​instead of the value ​​from subclass constructor **To Reproduce** ``` @Serializable sealed class Parent( @Transient val...

bug

**What is your use-case and why do you need this feature?** Current `dev` branch supports everything required to get COSE/CWT working, but still requires manual sorting of keys (i.e. declaring...

feature
cbor

**Describe the bug** According to the RFC, CBOR Web Tokens use a map with integer keys: https://datatracker.ietf.org/doc/html/rfc8392 Currently, there is no way to parse such data. Ideally, `@SerialName` would support...

bug
cbor
up for grabs