moshi
https://github.com/square/moshi
Kotlin
A modern JSON library for Kotlin and Java.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Kotlin not yet supported1 Subscribers
Add a CodeTriage badge to moshi
Help out
- Issues
- [Moshi 2] Null-safe adapter returned for non-nullable type
- [Moshi 2] Release alpha.1 missing from Maven Central
- Publish a BOM
- Rfc3339DateJsonAdapter puts the wrong zone on dates like "2025-11-20"
- `@JsonClass(generateAdapter = true)` fails when class has field with type `Array<Array<T>>` with default
- Classes annotated with @JsonClass(generateAdapter = true) are not obfuscated
- Support Kotlin Multiplatform
- Retrofit / enum class / @Json name specified / @FormUrlEncoded API
- Alternative Enum adapter with default value
- Better egonomics when replacing nulls with default values
- Docs
- Kotlin not yet supported