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

As for now, this library serializes the class/type of a subclass using a `serialName` in polymorphic serialization, which can be overridden with the `@SerialName` annotation. I'd like to propose supporting...

**What is your use-case and why do you need this feature?** [The Serialization Guide teaches a way to specify proto integer types for integer types](https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/formats.md#integer-types), but I don't see a...

feature

YAML is heavily used as a config format and far more relevant than some of the other formats that have first class support. I believe YAML should be supported officially...

feature

## Summary This commit introduces a new API which computes the required bytes to encode a message without actually serializing a message. The size is computed on the first call...

**Describe the bug** The automatic serializer throws on transient atomic fields, but manually written one works. ``` java.lang.NoSuchFieldError: Class ninja.blacknet.db.PeerDB$Entry does not have member field 'kotlinx.atomicfu.AtomicBoolean inContact' at ninja.blacknet.db.PeerDB$Entry.(PeerDB.kt:356) at...

bug

**What is your use-case and why do you need this feature?** I have a situation where I need the type arguments of an object to construct my custom serializer, but...

feature

**Issue Description** This issue compares the performance of KotlinX Serialization with Moshi for JSON parsing and serialization operations. The benchmark focuses on time taken (execution time) and the number of...

json

**What is your use-case and why do you need this feature?** My app needs to be able to sign and verify serialized data, which requires that the parse be unambiguous....

feature
cbor

Addresses https://github.com/Kotlin/kotlinx.serialization/issues/2663

Proposed here: https://github.com/Kotlin/kotlinx.serialization/issues/2608#issuecomment-2077438394 **PR can be merged only after update Kotlin to 1.9.24 because of failing tests** To run native tests in release mode, separate tasks are created by KGP...