kotlinx.serialization VS Moshi

Compare kotlinx.serialization vs Moshi and see what are their differences.

kotlinx.serialization

Kotlin multiplatform / multi-format serialization (by Kotlin)

Moshi

A modern JSON library for Kotlin and Java. (by square)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
kotlinx.serialization Moshi
52 17
5,099 9,500
1.6% 0.8%
8.5 8.6
about 18 hours ago 10 days ago
Kotlin Kotlin
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

kotlinx.serialization

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 2023-07-01.

Moshi

Posts with mentions or reviews of Moshi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-14.

What are some alternatives?

When comparing kotlinx.serialization and Moshi you can also consider the following projects:

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

Jackson - Core part of Jackson that defines Streaming API as well as basic shared abstractions

klaxon - A JSON parser for Kotlin

Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back

Jackson JSON Processor - Main Portal page for the Jackson project

spring-native - Spring Native is now superseded by Spring Boot 3 official native support

ktor-moshi - Ktor feature that adds Moshi JSON serialization support

kotlin-json - A JavaScript Object Notation library for Kotlin JVM.

LoganSquare - Screaming fast JSON parsing and serialization library for Android.

compose-multiplatform - Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.

Carteasy - A Shopping cart library for Android that allows you add to add items to cart and retrieve at ease using JSONObjects.