google/gson
A Java serialization/deserialization library to convert Java Objects into JSON and back observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 68
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 70
- age_days: 4185
- days_rel: 132
- days_push: 7
- n_releases_24m: 6
Adoption not part of the score
24225 stars · 4466 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Gson is a Java library for converting Java objects to JSON and back, working with arbitrary objects via reflection without requiring annotations. It is now in maintenance mode, with bugs fixed but no large new features planned.
Use cases
- serialize java objects to json
- parse json into java objects
- convert json to pojo without annotations
- handle json with java generics
- serialize legacy classes without source access
When to choose
- you need JSON serialization for plain Java objects without adding annotations
- you work with pre-existing classes you cannot modify
- you need strong Java Generics support in JSON conversion
When to avoid
- you are building an Android app where reflection conflicts with R8/ProGuard shrinking
- you use Kotlin or Scala and need language-specific features like null safety or default arguments
- you need a library with active feature development
Facets
library · maturity maintenance
serialization json developer-tools backend apis jvm json-serialization reflection-based java-library google
1 source
- readme: https://github.com/google/gson · fetched 2026-08-28 · af9828d4d661
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/gson | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem