Kotlin multiplatform / multi-format serialization (by Kotlin)

Kotlinx.serialization Alternatives

Similar projects and alternatives to kotlinx.serialization

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better kotlinx.serialization alternative or higher similarity.

Suggest an alternative to kotlinx.serialization

Reviews and mentions

Posts with mentions or reviews of kotlinx.serialization. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-06.
  • The Kotlin serialization library v1.3.0 is now available allowing serializing and deserializing Java IO stream! You can now read and write JSON directly to network streams or files. 🎉
    Even with this latest streaming support, Kotlin serialization has no support for incremental token-based parsing of huge JSON payloads, for example.
  • Serialização no Kotlin
    dev.to | 2021-08-26
  • A Kotlin programmer's approach to microservices?
    reddit.com/r/Kotlin | 2021-08-06
  • How We integrated Kotlin Multiplatform Into Profi
    Move from org.json to kotlinx.serialization and from JodaTime to klock. Some parts had to be moved into the platform-dependent code in the form of expect/actual.
  • Kotlin Team AMA #3: Ask Us Anything
    reddit.com/r/Kotlin | 2021-05-27
    In fact, we already have a widespread compiler plugin -- kotlinx.serialization, that statically "destructures" the serializable class, thus it doesn't need reflection to serialize an object.
    reddit.com/r/Kotlin | 2021-05-27
    The link is broken. It should be https://github.com/Kotlin/kotlinx.serialization/issues/1129
    reddit.com/r/Kotlin | 2021-05-27
    The proguard rules provided kotlinx serialization are pretty strict and prevent obfuscation companion classes. Is there a work around for this . There is a outstanding issue ticket on this(https://github.com/Kotlin/kotlinx.serialization/issue/1129)
  • Kotlin serialization problem
    reddit.com/r/Kotlin | 2021-05-15
    reddit.com/r/Kotlin | 2021-05-15
    You’re using encodeToString which is a reified function, in simple terms it gets the type of the value that you pass to it, at compile time, and creates a proper serializer for you. A more verbose but more obvious version of your code would be Json.encodeToString( serializer>(), mapOf(...)) Just makes it more obvious that your mapOf call results in a map with value type Any. And Kotlin serialization will then use Any’s serializer for all of that Map’s values. Refer here to solve your issue https://github.com/Kotlin/kotlinx.serialization/issues/296
  • Newbie to android studio
    Sounds like you want Kotlin JSON deserialization. Off the top of my head, I'd recommend looking up https://github.com/Kotlin/kotlinx.serialization and https://github.com/square/moshi.
  • kotlinx.serialization 1.2 released
    Neat! Although I want to use it, I'm still a bit disappointed that this is still on the waiting list and have to wait until then.
  • Why Java's Records Are Better* Than Lombok's Data and Kotlin's Data Classes
    news.ycombinator.com | 2021-05-07
  • kotlinx.serialization 1.2 Released: High-Speed JSON Handling, Value Class Support, Overhauled Docs, and more
    reddit.com/r/Kotlin | 2021-05-07
    Going by [https://github.com/Kotlin/kotlinx.serialization/blob/fc9343f06c5184d51df9ad1006d26c60c3230c2a/core/commonMain/src/kotlinx/serialization/encoding/Encoding.kt#L209-L230](this), it looks like serializing a @JvmInline @Serializable class with e.g. an Int property will compile as compositeEncoder.encodeInline(...).encodeInt(...). So statically it'll know to encode an Int value
    reddit.com/r/Kotlin | 2021-05-07
    Someone already implemented it. Full list of supported formats can be found here.
    reddit.com/r/Kotlin | 2021-05-07
    The overhauled docs part really got me excited because I pushed an issue about buildClassSerialDescriptor and its docs kinda not being right here.


Basic kotlinx.serialization repo stats
5 days ago

Kotlin/kotlinx.serialization is an open source project licensed under Apache License 2.0 which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Find remote jobs at our new job board 99remotejobs.com. There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.