A lenient, fast JSON processor for Ruby. It extracts strict JSON, NDJSON, JSONL, JSON5, HJSON-style config, and the messy JSON-ish input humans and LLMs actually write — comments, trailing commas, single / unquoted / smart quotes, Python and JS keywords, a UTF-8 BOM, and more all parse to the same Ruby objects, with no modes or flags to set. Where a traditional parser stops at the first deviation and throws away the whole document, SmarterJSON keeps going — it optimizes for getting your data out, not for policing the JSON spec. It reads multi-document NDJSON / JSONL in one call (and streams it with a block), and in benchmarks its C extension matches or beats Oj on nearly every file. SmarterJSON is opinionated: we want your JSON processing to be successful.
Required Ruby Version
>= 2.6.0
Authors
Tilo Sloboda
Versions
- 1.2.6 July 03, 2026 (99.5 KB)
- 1.2.5 July 02, 2026 (99.5 KB)
- 1.2.4 July 01, 2026 (99 KB)
- 1.2.3 June 28, 2026 (96.5 KB)
- 1.2.2 June 19, 2026 (92 KB)