# moshi
4 posts
JSON Parsing in Kotlin — Which Library Should You Use?
A side-by-side comparison of org.json, Gson, Moshi, Kotlin Serialization, and Jackson for JSON parsing in Kotlin.
Kotlin
JSON Parsing in Java — Which Library Should You Use?
A side-by-side comparison of org.json, Gson, Moshi, and Jackson for JSON parsing in Java — with recommendations for Android, backend, and new projects.
Java
JSON Parsing in Kotlin — Parsing with Moshi
Parse a complex JSON response using Moshi with Kotlin data classes, codegen, and proper null safety. The recommended JSON library for modern Android.
Kotlin
JSON Parsing in Java — Parsing with Moshi
Parse a real-world JSON response using Moshi in Java 21. Clean annotations, custom adapters, and built-in null safety.
Java