rxi/sj.h
Some data may be outdated — see provenance labels.
A tiny little JSON parsing library observed · 2026-09-27
Health v2 · maintenance only
34/100
- Activity 35
- Release rhythm 35
- Longevity 28
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 396
- days_rel: n/a
- days_push: 394
- n_releases_24m: 0
Adoption not part of the score
1549 stars · 46 forks observed · 2026-09-27
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-09-27 · d368dff368d5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rxi/sj.h | main | 34 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem