Jackson, moshi or kotlinx.serialization?

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

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. jackson-module-kotlin

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

    Jackson's learning curve is a lot lower (it helps that it's older and more popular, so there's more guides online), and it has a lot more options. However, Jackson doesn't fully support Kotlin, for example: value classes. For this reason, I would avoid it.

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. ktoml

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

    Kotlinx serialization is so elegant and nice, I really love it. I love it so much that I spent some time on making toml serialization library based on it: https://github.com/akuleshov7/ktoml

  4. kotlinx.serialization

    Kotlin multiplatform / multi-format serialization

    ``` see the docs

  5. kotshi

    An annotation processor that generates Moshi adapters from immutable Kotlin data classes.

  6. http4k

    The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.

  7. kotlinx-serialization-typescript-generator

    KxsTsGen :: Generate TypeScript interfaces from Kotlin classes

  8. jackson-modules-base

    Uber-project for foundational modules of Jackson that build directly on core components but nothing else; not including data format or datatype modules

    Jackson also has some module (https://github.com/FasterXML/jackson-modules-base/tree/master/afterburner) which will generate bytecode at runtime to do serialization without reflection but I haven't really had any performance issues with it that made me want to even try it

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
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

  • [Tiny] Kotlin, Spring Boot, and the Journey of Duration Serialisation

    2 projects | dev.to | 4 Apr 2025
  • Strings, Please! Eliminating Data Leaks Caused by Kotlin Assertions

    1 project | /r/Kotlin | 27 Jul 2022
  • Serializing and deserializing "Any" Kotlin type using jackson mapper

    1 project | /r/javahelp | 18 Feb 2021
  • Show HN: Mutuple – Replace items in Python's "immutable" tuples

    2 projects | news.ycombinator.com | 10 Apr 2024
  • Litestar 2.0

    4 projects | /r/Python | 29 Aug 2023