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

I am trying to define an external serializer for a data class (Data) which is defined in another gradle module (subproject) and the result is the following exception. ``` Caused...

bug
compiler-plugin
multi-project setup

### Describe the bug The default serializer of a serializable class can be overwritten by annotating the property that should be serialized with `SomeOtherSerializer` with `@Serializable(with = SomeOtherSerializer::class)`. Since the...

bug

Attempt to somehow address #2003

Trying to use the value class `Duration` with kotlin 1.5 and serialization 1.2 states ``` kotlinx.serialization.SerializationException: Serializer for class 'Duration' is not found. Mark the class as @Serializable or provide...

feature

**What is your use-case and why do you need this feature?** Right now there is no way to serialize kotlin delegates and even if there is , its not easy...

feature
design

**What is your use-case and why do you need this feature?** I have several classes that I want to deserialize, that include lists of polymorphic types. I can get it...

feature

Relates #1918 Benchmarks for improved serialization plugin Test | Old, ops/ms | ±, ops/ms |   | New, ops/ms | ±, ops/ms |   | Boost -- | -- | -- |...

To the point: I need to take a JSON input like `{ "number": { "innerNumber": 4 } }`, and parse it into a top-level `number` property (like the input were...

feature

I have the following hierarchy: ``` @Serializable sealed class Search(@SerialName("type") private var searchType: SearchType, @Transient open val table: String = "", @Transient open val index: String? = null, @Transient open...

question
design

**Describe the bug** I am trying to use kotlin serizlization in my android application, but as soon as I mark my data class with @Serializable the project stops compiling with...

bug
compiler-plugin
android