square/moshi
A modern JSON library for Kotlin and Java. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4407
- days_rel: n/a
- days_push: 8
- n_releases_24m: 0
Adoption not part of the score
10155 stars · 813 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Moshi is a modern JSON serialization library for Kotlin and Java, with built-in type adapters and optional Kotlin code generation. It converts JSON to and from Java/Kotlin objects with a simple adapter-based API.
Use cases
- parse json into kotlin data classes
- serialize java objects to json
- json parsing on android
- convert rest api responses to models
- kotlin json serialization with codegen
- read and write json in jvm apps
When to choose
- you need JSON serialization on Android or the JVM in Kotlin or Java
- you want type-safe, reflection-free codegen for Kotlin classes
- you need a lightweight alternative to Gson with better Kotlin support
When to avoid
- you need non-JSON formats like XML or protobuf
- you want a multiplatform Kotlin serialization library beyond the JVM
- your project is not on the JVM
Facets
library · maturity stable
serialization parser developer-tools mobile-development backend jvm json kotlin android code-generation type-adapters
2 sources
- readme: https://github.com/square/moshi · fetched 2026-08-28 · 293340172804
- homepage: https://square.github.io/moshi/1.x/ · fetched 2026-08-29 · 0d821c683798
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| square/moshi | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem