Hacker GitHub

← All repos

tomnomnom/gron

View on GitHub ↗ ★ 14,536 Go

Make JSON greppable!

95 mentions on Hacker News by 82 people: 7 stories, 88 comments · first 2018-04-01 · latest 2026-10-27

Mentions per year 95 mentions · busiest year 2023 (18)
20082026
  1. …goal is to promote exploration of a JSON file through common unix tools such as awk and grep. 1: https://github.com/tomnomnom/gron
  2. Thank you, sounds very useful for quick queries: https://github.com/TomNomNom/gron
  3. Don't forget Gron: https://github.com/tomnomnom/gron
    comment by ABraidotti · 2021-11-10 · in JSONiq: JSON Query Language
  4. …processing tools I find helpful in addition to JavaScript include Gron aka "grep for JavaScript" ( https://github.com/tomnomnom/gron ), jq for querying, json_pp for pretty-printing and `bat` for syntax highlighting.
    comment by markstos · 2021-11-09 · in JSONiq: JSON Query Language
  5. …json[0].commit.author.email = "mail@tomnomnom.com"; json[0].commit.author.name = "Tom Hudson"; https://github.com/tomnomnom/gron
    comment by dmos62 · 2021-09-07 · in Htmlq: like jq, but for html
  6. `jtbl` seems nice! I'd add: * https://github.com/tomnomnom/gron - make json greppable * https://sr.ht/~gpanders/ijq/ - interactive jq
    comment by asicsp · 2021-08-25 · in An Introduction to JQ
  7. You might prefer gron for this use case: https://github.com/tomnomnom/gron
    comment by seppel · 2021-08-02 · in Extracting Objects Recursively with Jq
  8. …it took the combination of it and gron [1] to really transform my debugging and JSON workflows. 1: https://github.com/TomNomNom/gron
    comment by doytch · 2021-08-01 · in Extracting Objects Recursively with Jq
  9. …{ "date": "2016-07-02T10:51:21Z", "email": "mail@tomnomnom.com", "name": "Tom Hudson" } } } ] [1] https://github.com/tomnomnom/gron
  10. You're probably thinking of https://github.com/tomnomnom/gron .
  11. …for some edge cases. But for some quick exploratory analysis, it's a tool I like to have handy. [0] https://github.com/tomnomnom/gron/
    comment by michaelmior · 2021-03-25 · in SQLite is not a toy database
  12. …This output provides a lot of context for me to see and understand the differences. [1] gron https://github.com/tomnomnom/gron [2] delta https://github.com/dandavison/delta
  13. …that are pretty cumbersome in jq, such as finding a field deeply nested in an optional parent. [1] https://github.com/tomnomnom/gron
  14. The gron tool mentioned by the author is incredibly useful for grepping json. https://github.com/tomnomnom/gron
  15. …The patch was based on the most recent release, since master is currently not functional. 0: https://github.com/TomNomNom/gron 1: https://github.com/phiresky/ripgrep-all/pull/77
  16. Looks like someone has done so here: https://github.com/tomnomnom/gron/issues/77
    comment by mikepurvis · 2020-11-06 · in Gron – Make JSON Greppable
  17. This is called gron, I prefer it for reading JSON with a lot of nesting. https://github.com/tomnomnom/gron
  18. …json[0].commit.author.email = "mail@tomnomnom.com"; json[0].commit.author.name = "Tom Hudson"; [1] https://github.com/tomnomnom/gron
  19. https://github.com/tomnomnom/gron
    comment by fold_left · 2020-07-01 · in Mastering Jq: Part 1
  20. …JSON into single lines for use with grep, sed, etc and can recombine back into JSON as well. https://github.com/TomNomNom/gron
    comment by benjaminoakes · 2020-06-05 · in The Beauty of Unix Pipelines
  21. …data. jello looks pretty interesting too, but I'm not sure if I agree with python syntax. [0]: https://github.com/tomnomnom/gron
    comment by qqii · 2020-04-22 · in Nushell – A New Type of Shell
  22. Kudos for sharing "gron," I hadn't heard of that tool before and it looks quite useful: https://github.com/tomnomnom/gron
    comment by loeg · 2020-03-19 · in Illustrated Jq Tutorial
  23. I use gron to do this same thing: https://github.com/tomnomnom/gron Some options of gron I use often: --stream, which treats the input as "JSON lines" format --ungron, which converts from the flat format back to JSON
    comment by oftenwrong · 2020-03-19 · in Illustrated Jq Tutorial
  24. No need to panic! You can still pipe it to gron [0] and recover useable output. [0] https://github.com/TomNomNom/gron
    comment by enriquto · 2020-03-17 · in Curl will now output JSON
  25. …workflows like this, I've found it incredibly useful. https://news.ycombinator.com/item?id=16727665 https://github.com/tomnomnom/gron/
  26. …https://github.com/dflemstr/rq And for searching JSON: jq: https://stedolan.github.io/jq/ gron: https://github.com/tomnomnom/gron Or use in2csv from csvkit or rq to get the JSON over to CSV and go from there.
    comment by cosmie · 2019-09-21 · in Show HN: cq – Query CSVs using SQL
  27. Gron -- Make JSON Greppable https://github.com/TomNomNom/gron
  28. I recommend "gron" https://github.com/tomnomnom/gron > gron transforms JSON into discrete assignments to make it easier to grep for what you want and see the absolute 'path' to it. It eases the exploration of APIs that return large blobs…
  29. Use gron. See https://github.com/TomNomNom/gron
    comment by bradknowles · 2019-08-01 · in Learn a little jq, Awk and sed
  30. …the Bible first instead isn't the most helpful advice :) But I do appreciate you flagging it! [1] https://github.com/tomnomnom/gron --- P.S. For those who liked the writing style of this tutorial, you may enjoy these other ones on the IBM…
    comment by news_hacker · 2019-06-29 · in Awk by Example
  31. Looks a lot like ye olde gron: https://github.com/tomnomnom/gron Here's a Python implementation of gron https://github.com/venthur/python-gron
  32. …so you can pipe json to gron, grep -v to remove some data, then ungron to get it back to json. [0] https://github.com/tomnomnom/gron
  33. …need to deal with JSON in a script. It's a bit simpler than 'jq', both in usage and in capability. https://github.com/tomnomnom/gron
  34. …new language. With gron I can just wire it up to a bunch of standard line-based utilities. [1] https://github.com/tomnomnom/gron
  35. …= 2.88; json.root.right = []; json.root.right[0] = "a"; json.root.right[1] = "b"; [0] https://github.com/tomnomnom/gron
    comment by philsnow · 2018-12-19 · in Comma-Separated Tree
  36. …convert the JSON into a shell-friendly line-oriented format. This makes the rest straightforward. https://github.com/tomnomnom/gron
  37. gron, a simple tool to make JSON greppable: https://github.com/tomnomnom/gron
  38. …it's difficult to justify removing it - you never know whose workflow you might break[3]. [0] - https://github.com/tomnomnom/gron/blob/master/ADVANCED.mkd [1] - https://news.ycombinator.com/item?id=16733361 [2] -…