# jsonapi-serializer/jsonapi-serializer

A fast JSON:API serializer for Ruby (fork of Netflix/fast_jsonapi)

Repository: https://github.com/jsonapi-serializer/jsonapi-serializer
Canonical: https://ross.abutalabs.com/products/jsonapi-serializer
Homepage: https://rubygems.org/gems/jsonapi-serializer
Language: Ruby
License: Apache-2.0
License Family: permissive
Last push: 2026-01-12T21:14:35+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 62, release rhythm 8, longevity 100
- inputs: {"age_days": 2526, "days_push": 233, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1448, forks 144 (observed 2026-08-28T04:04:45.519995+00:00)

## What it is
A fast JSON:API serializer for Ruby objects, forked from Netflix's fast_api to keep the project alive. It supports compound documents, relationships, caching, and conditional attributes with performance significantly better than ActiveModelSerializers.

## Use cases
- serialize rails models to :api format
- fast  api responses for ruby web apps
- serialize has_many and belongs_to relationships
- generate compound documents with included records
- replace activemodelserializers for better performance
- add conditional attributes to api serializers
- cache serialized api responses

## When to choose
- you need JSON:API-compliant output in a Ruby or Rails app
- serialization speed matters more than ActiveModelSerializers flexibility
- you're migrating from Netflix/fast_api

## When to avoid
- you don't follow the JSON:API specification
- you need actively developed new features (v2 is in maintenance mode)
- you need non-JSON serialization formats

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization
- domain: web-development, backend, apis
- platform: ruby
- tags: -api, fast-api, rails, serializer

## Member repositories
- jsonapi-serializer/jsonapi-serializer (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:45.519995+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:03.658943+00:00, confidence not recorded.
  - readme: https://github.com/jsonapi-serializer/jsonapi-serializer (fetched 2026-08-28T04:04:45.519995+00:00, sha 79af183eff12)
  - homepage: https://rubygems.org/gems/jsonapi-serializer (fetched 2026-08-29T11:45:44.941527+00:00, sha 3760829fd2fc)
  - site_page: https://guides.rubygems.org/command-reference (fetched 2026-08-29T11:45:44.950404+00:00, sha ef62154d6253)
  - site_page: https://rubygems.org/pages/about (fetched 2026-08-29T11:45:44.953868+00:00, sha e4248571fa5d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
