Kotlin Serialization

Open-source Kotlin projects categorized as Serialization

Top 8 Kotlin Serialization Projects

  • kotlinx.serialization

    Kotlin multiplatform / multi-format serialization

    Project mention: How would I serialize a JSON primitive to a class? | /r/Kotlin | 2023-07-01

    Have you tried this:? https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md

  • jackson-module-kotlin

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

  • LearnThisRepo.com

    Learn 300+ open source libraries for free using AI. LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!

  • kaml

    YAML support for kotlinx.serialization

  • ktoml

    Kotlin Multiplatform parser and compile-time serializer/deserializer for TOML format (Native, JS, JVM) based on KxS

    Project mention: Ktoml 0.5.0 released 🎉 | /r/Kotlin | 2023-05-13

    Last week we have finally released a new version (0.5.0) of ktoml, a multiplatform serialization library for TOML format with Kotlin extensions based on KxS 🥳. As many developers are already using version 0.4.0, this announcement may be important for you. This release took us a lot of time, as we had to make slight changes to the library's API, migrate the processing logic to sequences, and finally support serialization and deserialization of multiline strings. Under the hood, we have updated Kotlin, kotlinx.serialization, and made some small improvements (release notes)

  • xmlutil

    XML Serialization library for Kotlin

  • avro4k

    Avro support for kotlinx.serialization

    Project mention: People who use Spring and Kotlin... | /r/Kotlin | 2023-09-26

    I've just recently implemented Google Pub/Sub with Avro serialization using Avro4k library and it works fine https://github.com/avro-kotlin/avro4k

  • knbt

    Kotlin NBT library for kotlinx.serialization

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • kbson

    Mongo BSON support for kotlinx.serialization.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-09-26.

Kotlin Serialization related posts


What are some of the best open-source Serialization projects in Kotlin? This list will help you:

Project Stars
1 kotlinx.serialization 5,019
2 jackson-module-kotlin 1,086
3 kaml 448
4 ktoml 419
5 xmlutil 336
6 avro4k 180
7 knbt 60
8 kbson 41
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.