goccy/go-json
Fast JSON encoder/decoder compatible with encoding/json for Go observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 94
- Release rhythm 42
- 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: 227.0
- age_days: 2327
- days_rel: 174
- days_push: 41
- n_releases_24m: 3
Adoption not part of the score
3705 stars · 215 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
goccy/go- is a fast JSON encoder/decoder library for Go that is a drop-in replacement for the standard encoding/ package. It maintains full API compatibility while offering significantly better performance and extra features like context propagation and type-safe field filtering.
Use cases
- speed up JSON serialization in a Go web service
- replace encoding/ without changing code
- marshal and unmarshal JSON faster in Go
- propagate context.Context through custom JSON marshalers
- dynamically filter struct fields when encoding JSON
When to choose
- you need encoding/ compatibility with better performance
- JSON encoding/decoding is a bottleneck in your Go application
- you want a drop-in import swap with no code changes
When to avoid
- you only serialize small JSON payloads where performance is irrelevant
- you need code generation-based serialization like easy
- you require the absolute guarantees of the standard library's battle-tested implementation
Facets
library · maturity active
serialization developer-tools backend apis go cross-platform -encoder -decoder drop-in-replacement performance encoding--compatible
1 source
- readme: https://github.com/goccy/go-json · fetched 2026-08-28 · 94543d0f39e4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| goccy/go-json | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem