rxi/sj.h
A tiny little JSON parsing library observed · 2026-08-28
Health v2 · maintenance only
36/100
- Activity 43
- Release rhythm 35
- Longevity 24
Flags: no_releases
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: n/a
- age_days: 348
- days_rel: n/a
- days_push: 346
- n_releases_24m: 0
Adoption not part of the score
1545 stars · 45 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
sj.h is a tiny ~150-line C99 JSON parsing library distributed as a single header. It performs zero-allocation, streaming-style parsing and leaves number and string decoding to the user.
Use cases
- parse in c with no dependencies
- embed a minimal parser in an embedded project
- read config files without dynamic allocation
- extract fields from strings in c99
- handle parsing errors with line and column info
When to choose
- you need a tiny, dependency-free JSON parser in C
- you want full control over number and string decoding
- you cannot use dynamic memory allocation
- you want a public-domain licensed parser
When to avoid
- you need automatic number parsing or unicode surrogate handling
- you need JSON serialization/writing, not just parsing
- you want a full-featured JSON library with DOM building
Facets
library · maturity stable
parser serialization developer-tools parsers developer-tools files c cross-platform embedded single-header zero-allocation -parser public-domain minimalist
1 source
- readme: https://github.com/rxi/sj.h · fetched 2026-08-28 · d368dff368d5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rxi/sj.h | main | 36 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem