google/jsonapi
jsonapi.org style payload serializer and deserializer observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
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: 4076
- days_rel: n/a
- days_push: 792
- n_releases_24m: 0
Adoption not part of the score
1414 stars · 220 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library for serializing and deserializing JSON payloads that comply with the JSON API (api.org) specification. It uses struct tags to map existing model structs to JSON API format, including relationship side-loading, without requiring separate payload structs.
Use cases
- serialize Go structs to api.org compliant payloads
- deserialize JSON API request bodies into Go structs
- handle JSON API relationships with included side-loaded records
- build a Go web API that follows the JSON:API spec
- avoid writing duplicate payload structs for JSON API responses
When to choose
- your API must conform to the api.org specification
- you want to reuse existing model structs with struct tags instead of dedicated DTOs
- you need automatic handling of relationships and included records in Go
When to avoid
- you just need plain JSON serialization (use encoding/)
- your API does not follow the JSON:API spec
- you need a library under active development (it carries a 'No Maintenance Intended' badge)
Facets
library · maturity maintenance
serialization web-development apis backend go api struct-tags payload-serialization api-spec
5 sources
- readme: https://github.com/google/jsonapi · fetched 2026-08-28 · bbb540b78e9e
- homepage: http://godoc.org/github.com/google/jsonapi · fetched 2026-08-29 · 1d0ee5b4a7de
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://pkg.go.dev/github.com/google/jsonapi · fetched 2026-08-29 · 649b922396fd
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/jsonapi | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem