Categories: None [Edit]

smarter_json

https://rubygems.org/gems/smarter_json
https://github.com/tilo/smarter_json
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.

Total

Ranking: 177,513 of 193,756
Downloads: 2,254

Daily

Ranking: 8,174 of 193,649
Downloads: 196

Depended by

RankDownloadsName

Depends on

RankDownloadsName
112435,135,551bigdecimal

Owners

#GravatarHandle
1icontilo