kotlinx.serialization 1.2 Released: High-Speed JSON Handling, Value Class Support, Overhauled Docs, and more

This page summarizes the projects mentioned and recommended in the original post on /r/Kotlin

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • kotlinx.serialization

    Kotlin multiplatform / multi-format serialization

    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

  • jackson-module-kotlin

    Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.

    If you use Jackson, don't forget to include the Kotlin extensions https://github.com/FasterXML/jackson-module-kotlin

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • avro4k

    Avro support for kotlinx.serialization

    Someone already implemented it. Full list of supported formats can be found here.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts