rxi/json.lua
A lightweight JSON library for Lua observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- 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: n/a
- age_days: 4039
- days_rel: n/a
- days_push: 1009
- n_releases_24m: 0
Adoption not part of the score
2186 stars · 375 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tiny, pure-Lua JSON encoding and decoding library that works with Lua 5.1, 5.2, 5.3, and LuaJIT. It is a single ~280-line file with no dependencies, offering fast performance and clear error messages.
Use cases
- encode Lua tables to JSON strings
- decode JSON strings into Lua tables
- parse JSON API responses in a Lua project
- serialize game or app config data as JSON
- drop-in JSON support for LuaJIT or Lua 5.1-5.3
When to choose
- you need a dependency-free, single-file JSON library in pure Lua
- you need compatibility across Lua 5.1 through 5.3 and LuaJIT
- performance of pure-Lua JSON encoding/decoding matters
- you want clear error messages with line and column info
When to avoid
- you need pretty-printed JSON output
- you need to preserve JSON null values inside arrays or objects
- you need a C-speed JSON parser for very high throughput
- you need support for sparse arrays or mixed key types without errors
Facets
library · maturity stable
serialization parser developer-tools web-development apis lua cross-platform pure-lua -encoder -decoder lightweight single-file
1 source
- readme: https://github.com/rxi/json.lua · fetched 2026-08-28 · 1cd05c8ce1e0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rxi/json.lua | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem