Moshi VS ktor-moshi

Compare Moshi vs ktor-moshi and see what are their differences.

Moshi

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

ktor-moshi

Ktor feature that adds Moshi JSON serialization support (by plannigan)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
Moshi ktor-moshi
8 1
7,798 1
1.2% -
7.8 1.0
about 16 hours ago over 1 year ago
Java 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.

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 2021-11-16.
  • Release Kotlin 1.6.0 · JetBrains/kotlin
    2 projects | reddit.com/r/androiddev | 16 Nov 2021
    Moshi users are currently blocked to update until Moshi 1.13.0 is released: https://github.com/square/moshi/issues/1368
  • No Good Deed Goes Unpunished
    2 projects | reddit.com/r/RedditEng | 25 Oct 2021
    I estimated it would take me half a day to complete. I thought it would be a couple of import statement changes and some variable renaming because our app already was using Moshi, another JSON parsing library, and we had already deprecated GSON. I was wrong. The project ended up taking 5 weeks off and on, produced a 3k line code diff, and upon release, it immediately crashed the Reddit Android App. After a quick hotfix, I finally eliminated the last remnants of GSON and made Reddit more stable.
  • Google SignIn Compose
    2 projects | dev.to | 24 Sep 2021
    Moshi is a modern JSON library for Android and Java. It makes it easy to parse JSON into Java objects
  • Extract data API
    1 project | reddit.com/r/Kotlin | 18 Jul 2021
    You're welcome and good luck. If for some reason that one is hard to set up, another popular solution in this space is https://github.com/square/moshi
  • Best way to store multiple variables to a file.
    1 project | reddit.com/r/Kotlin | 3 Jun 2021
    Create a data class that has your 3 arrays in it, and use something like moshi https://github.com/square/moshi to serialize it to a json string, and write it to a file. Read the file in and use moshi to go from string to data object. Database makes sense for many things, but saving state to disk as json (or some other serialization format) is easy and useful in many scenarios as well.
  • square/moshi gson alternative
    1 project | reddit.com/r/YourselfYou | 12 May 2021
  • Newbie to android studio
    2 projects | reddit.com/r/AndroidStudio | 9 May 2021
    Sounds like you want Kotlin JSON deserialization. Off the top of my head, I'd recommend looking up https://github.com/Kotlin/kotlinx.serialization and https://github.com/square/moshi.
  • I can't get Moshi to work with my Ktor REST Api
    2 projects | reddit.com/r/Kotlin | 1 May 2021
    https://github.com/square/moshi#kotlin

ktor-moshi

Posts with mentions or reviews of ktor-moshi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-01.

What are some alternatives?

When comparing Moshi and ktor-moshi you can also consider the following projects:

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

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

kotlinx.serialization - Kotlin multiplatform / multi-format serialization

Jackson JSON Processor - Main Portal page for the Jackson project

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

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

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

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

fastjson - A fast JSON parser/generator for Java.

HikariJSON - High-performance JSON parser

Essential Json - JSON without fuss

YaGson - A universal types-preserving Java serialization library that can convert arbitrary Java Objects into JSON and back, with a transparent support of any kind of self-references and with a full Java 9 compatibility.