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

**Describe the bug** I’d like to use `decodeFromDynamic()` in Kotlin/JS to read a large unsigned integer. Unfortunately the implementation doesn’t convert the native value from a large JavaScript number (ie....

bug
js

Section regarding meta-annotation seems to be missing from the guide — we have only KDoc for it.

docs needed

### What is your use-case and why do you need this feature? I am implementing a JsonLD library for Kotlin/Multiplatform. However, I've encountered a problem: expanded JsonLD has lots of...

feature

**Describe the bug** It seems that strings will be automatically converted to `Int` by default in Json. That is highly surprising and especially so when lenient is set to false....

design

Sorry for the bad title, it's quite difficult to sum-up 😞 I need to implement the array serialization for avro, but it works differently than usual encodings. A collection (arrays...

**What is your use-case and why do you need this feature?** We have lots of modules which have two or three different ZonedDateTime encodings because different backends have different format...

question
Static modules

**What is your use-case and why do you need this feature?** I need to serialize objects with many Doubles in them. The JDK's default Double serialization is slow, particularly on...

feature

When dexguarding the APK and running Kotlin from JSON to data serialization, I'm getting this crash exception: `java.lang.ClassNotFoundException: Didn't find class "kotlinx.serialization.json.Json" on path: DexPathList`. However, it is working fine...

waiting for clarification

Fixes https://github.com/Kotlin/kotlinx.serialization/issues/2662 by adding a `visitKey` method to `CompositeDecoder`; map and set serializers should call this so that decoders have an opportunity to throw an error when a duplicate key...

cbor

**Describe the bug** A project using a custom UUID serializer with the name of the serial descriptor set to `UUID` (casing does not matter) will break with the recent 1.7.2...