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

It is possible that I could have missed this in documentation, but nevertheless: I want to write a custom parser for an object, but i want it to be parsed...

feature

**What is your use-case and why do you need this feature?** I want to jsonify an object which contains generic types, so I tried following codes at first. ```kotlin @Serializable...

feature

Follow up of https://youtrack.jetbrains.com/issue/QA-1118/ * [ ] Update to Gradle 8 * [ ] Migrate from Groovy to Kotlin DSL everywhere * [ ] Tidy up Kover config and make...

build

**Describe the bug** When I bump version of kotlinx-serialization-json to 1.6.3, IOException is occurred. I'll write detail log below. ``` java.lang.RuntimeException: java.io.IOException: Can't write to record[17983438]: it was deleted at...

**What is your use-case and why do you need this feature?** Parcelize allows the following code. ```kotlin @Parcelize sealed interface State : Parcelable { data object Loading : State data...

feature

It is an implementation of #2538 , to support `oneof` declaraction in protobuf. Some major changes: 1. Introduce a new annotation `ProtoOneOf` to mark a property of class should be...

**What is your use-case and why do you need this feature?** The Kotlin compiler can infer some type arguments of a subtype from those of the parent abstract/sealed types. Currently,...

feature

**Describe the bug** `coerceInputValues` does not work for `Double` type when value is `NaN`. **To Reproduce** ```kotlin @Serializable data class MyData( val doubleField: Double = .0 ) ... val json...

feature

Some backends return polymorphic data without a descriptor: ```json { "value": "someValue" } ``` vs ```json { "value": { "version": 0, "content": "someValue" } } ``` I know this is...

feature
json

This is effectively accomplished by propagating the value of `decodeByteArrayAsByteString`, as determined by reading the annotations on the element, down to any `CborReader`s for map- or list-like types. Any `ByteArray`...