Hacker GitHub

← All repos

lloyd/yajl

View on GitHub ↗ ★ 2,229 C

A fast streaming JSON parsing library in C.

7 mentions on Hacker News by 5 people: 0 stories, 7 comments · first 2011-05-26 · latest 2021-06-07

Mentions per year 7 mentions · busiest year 2021 (3)
20082026
  1. …did try Nitter but found that sometimes instances were exceeding rate limits. json_reformat is from https://github.com/lloyd/yajl this uses stunnel and nc but can easily be adapted to use openssl, bssl, haproxy, or whatever other ssl…
  2. …no Javascript required, no SNI, unnecessary HTTP headers, DNS, etc. json_reformat is from https://github.com/lloyd/yajl/ ^M is Ctrl-v+Ctrl-m example usage: 1.sh query > 1.json json_reformat < 1.json|sed 's/ *//;s/\\n/ /g'|less stunnel -fd…
    comment by 1vuio0pswjnm7 · 2021-06-07 · in HN “Why Not Simply”
  3. …To read the JSON, I have been experimenting with json_reformat from https://github.com/lloyd/yajl 1.sh > 1.json sed -n /{\"data\"/p 1.json|json_reformat|sed -n -e 's/ *//' \ -e '/created_at/p;/sation_id_str/p;/full_text/p'|gre
    comment by 1vuio0pswjnm7 · 2021-06-05 · in LOL just got kicked out of @ycombinator
  4. …your need you may well be better off storing offsets into the file depending on your requirements. https://github.com/lloyd/yajl is an example of a streaming JSON parser (caveat: I've not benchmarked it at all), but JSON is simple enough…
  5. Sure, here's a few: https://github.com/facebook/tornado/downloads https://github.com/lloyd/yajl/downloads https://github.com/adobe/brackets/downloads https://github.com/textmate/textmate/downloads https://github.com/KentBeck/junit/downloads…
    comment by wooster · 2012-12-12 · in Goodbye, Uploads
  6. Yes, there is support for stream parsing of JSON. I haven't tried it myself, https://github.com/lloyd/yajl is one example, which has various bindings in other languages.
  7. As for streaming JSON parsers: https://github.com/lloyd/yajl Around for four years. Stable. Language bindings for all major languages.