Hacker GitHub

← All repos

dgraham/json-stream

View on GitHub ↗ ★ 202 Ruby

A streaming JSON parser that generates SAX-like events.

5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2015-12-11 · latest 2024-10-06

Mentions per year 5 mentions · busiest year 2024 (2)
20082026
  1. There's even more alternatives at the bottom https://github.com/dgraham/json-stream?tab=readme-ov-file#al...
    comment by Alifatisk · 2024-10-06 · in Wikidata as a Giant Crosswalk File
  2. …memory. [1]: https://github.com/jimhigson/oboe.js EDIT: looking around a bit, I found json-stream ( https://github.com/dgraham/json-stream ) for Ruby.
    comment by fiddlerwoaroof · 2024-10-06 · in Wikidata as a Giant Crosswalk File
  3. …you can’t do a SAX-style parser for JSON. A quick bit of searchengineering will find dozens, eg. https://github.com/dgraham/json-stream
    comment by fanf2 · 2019-10-29 · in XML is almost always misused
  4. …except Python or Ruby or (2) Try using streaming API (I don't know Ruby, but quick google found https://github.com/dgraham/json-stream ). Note that this method will require you to massively restructure your program -- you want to avoid…
  5. …work if the subsets are small enough. But this adds another serialization/deserialization step. [1] https://github.com/dgraham/json-stream [2] http://goessner.net/articles/JsonPath/
    comment by aabaker99 · 2015-12-11 · in Memory use and speed of JSON parsers