Moshi VS Gson

Compare Moshi vs Gson and see what are their differences.

Moshi

A modern JSON library for Kotlin and Java. (by square)

Gson

A Java serialization/deserialization library to convert Java Objects into JSON and back (by google)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Moshi Gson
17 26
9,465 22,901
0.8% 0.6%
8.6 9.1
3 days ago 1 day ago
Kotlin Java
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.

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.

Gson

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

What are some alternatives?

When comparing Moshi and Gson you can also consider the following projects:

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

kotlinx.serialization - Kotlin multiplatform / multi-format serialization

Jackson JSON Processor - Main Portal page for the Jackson project

jsoniter - jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go

Genson - Genson a fast & modular Java <> Json library

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

Yasson - Eclipse Yasson project

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

JSON-io - Convert Java to JSON. Convert JSON to Java. Pretty print JSON. Java JSON serializer.