okuramasafumi/alba
Alba is a JSON serializer for Ruby, JRuby and TruffleRuby. observed · 2026-09-03
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 87
- 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: 89
- age_days: 2416
- days_rel: 5
- days_push: 0
- n_releases_24m: 6
Adoption not part of the score
1201 stars · 63 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Alba is a fast, flexible JSON serializer gem for Ruby, JRuby, and TruffleRuby. It lets you define resource classes that declare attributes and transformations to serialize Ruby objects into JSON.
Use cases
- serialize ruby objects to for api responses
- replace activemodelserializers with a faster serializer
- define presenters for rails or hanami models
- serialize records with custom attribute transformations
- speed up rendering in a ruby web api
When to choose
- you need high-performance serialization in ruby
- you want a lightweight alternative to ActiveModelSerializers
- you use JRuby or TruffleRuby and need a compatible serializer
When to avoid
- you need XML or non-JSON output formats
- you rely on AMS-specific features without migration effort
Facets
library · maturity active
serialization web-development backend apis developer-tools ruby jvm cross-platform -serializer presenter api-serialization activemodel-serializers-alternative
4 sources
- readme: https://github.com/okuramasafumi/alba · fetched 2026-09-03 · 2f5fc1048fda
- homepage: https://rubygems.org/gems/alba · fetched 2026-08-29 · a8997975a83f
- site_page: https://guides.rubygems.org/command-reference · fetched 2026-08-29 · ef62154d6253
- site_page: https://rubygems.org/pages/about · fetched 2026-08-29 · e4248571fa5d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| okuramasafumi/alba | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="okuramasafumi/alba")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem