kotlinx.serialization
kotlinx.serialization copied to clipboard
Kotlin multiplatform / multi-format serialization
**What is your use-case and why do you need this feature?** I'm writing a library where I only want to depend on serialization-core and so not have to check for...
I have no idea how to implement backslash removal in jsondecoder. ```text kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 23: Invalid escaped char ' ' at path: $[0].name JSON input: [{"id":3321206,"name":"Axwell...
**Describe the bug** Running the documented `./gradlew build` on master fails. (However, `./gradlew jvmTest` succeeds.) **To Reproduce** 1. Checked out master branch (currently `e6fb4402da80`) 2. Ran `./gradlew build` Two JS-related...
- Bring back its interaction with coerceInputValues flag - Enhance documentation and add more samples to it - Remove @ExperimentalSerializationApi Fixes #2636 Fixes #2586
Its KDoc should be updated, and a section in the guide should be added.
I can drop either of these commits if they're wrong, but this PR makes `classDiscriminatorMode` a `val` in the configuration, and then marks it as experimental in the builder to...
**What is your use-case and why do you need this feature?** The new comments feature in 1.7.0-RC is great! However, most of the time when I've encountered JSON with comments,...
**What is your use-case and why do you need this feature?** When dealing with proto in kotlinx serialization you can only have your classes and serialize them. Being able to...
Also, slightly increased coverage Resolves #2634 TODO staging repository and version 0.8.0-Serialization should be removed after Kover 0.8.1 release
Resolves #2660