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
20082026
-
…contents of a JSON file, you would maybe use `grep`, or perhaps `jq` and a well crafted query Try https://github.com/tomnomnom/gron .
comment by pdimitar · 2026-09-04 · in Grep beats LSP? Why coding agents ignore your fancier tools -
…2h check the CI build' which will give me an OS reminder in two hours, I use it a ton at work. [0] https://github.com/tomnomnom/gron [1] https://github.com/ajeetdsouza/zoxide [2] https://github.com/amterp/rad
comment by amterp · 2026-08-17 -
You might like https://github.com/tomnomnom/gron
comment by iamjackg · 2026-03-27 · in A Faster Alternative to Jq -
Highly recommend gron. https://github.com/tomnomnom/gron
comment by xendo · 2026-03-27 · in A Faster Alternative to Jq -
…may want to consider adding an example usage/output so folks can see what it does literally. [0] - https://github.com/tomnomnom/gron [1] - https://github.com/ckampfe/jstream
comment by asa400 · 2026-01-02 · in FracturedJson -
Tried gron ( https://github.com/tomnomnom/gron ) a bit? If you know your UNIX, I think it can replace jq in a lot of cases. And when it can't, well, you can reach for Python, I guess.
comment by a-french-anon · 2025-11-07 · in You should write an agent -
The only sane configuration language is something similar to gron https://github.com/tomnomnom/gron
comment by afiori · 2025-09-19 · in Configuration files are user interfaces -
For this I use gron [0]. It's very convenient. [0]: https://github.com/tomnomnom/gron
comment by rogue7 · 2025-09-11 · in A love letter to the CSV format (2024) -
…90% of what I need for json processing, it's a great first step and often the only necessary step. https://github.com/tomnomnom/gron
comment by great_wubwub · 2025-05-02 · in A Common Lisp jq replacement -
I think GRON[1] would fit the bill better [1] https://github.com/tomnomnom/gron
comment by afiori · 2025-03-27 · in A love letter to the CSV format -
Just use gron! greppable json It turns JSON to JS syntax. it"s perfect for these tasks. https://github.com/tomnomnom/gron
comment by bugtodiffer · 2024-09-09 · in Jd – JSON Diff and Patch -
It's ofter a matter of having the right tool for the job. In your case, https://github.com/tomnomnom/gron might be useful.
comment by smartmic · 2024-09-03 · in Greppability is an underrated code metric -
gron makes nested JSON greppable https://github.com/tomnomnom/gron
comment by uasi · 2024-09-03 · in Greppability is an underrated code metric -
…back into a document (json). I'd love to see gron/ungron implemented for all tree structures. https://github.com/tomnomnom/gron
comment by sitkack · 2024-08-18 · in Dasel: Select, put and delete data from JSON, TOML, YAML, XML and CSV -
You might like gron then. https://github.com/tomnomnom/gron For 90% on my needs this is all I need.
comment by hgyjnbdet · 2024-05-03 · in How to Use JSON Path -
gron ( https://github.com/tomnomnom/gron ) to transform it and query and then invert the transformation?
comment by sceadu · 2024-04-22 · in Frawk: An efficient Awk-like programming language. (2021) -
Then you'll love gron https://github.com/tomnomnom/gron
comment by wooptoo · 2024-03-25 · in Show HN: Flatito, grep for YAML and JSON files -
…the same thing, but a tool I've had good luck with for quick-n-dirty grepping of JSON is gron: https://github.com/tomnomnom/gron (which I'm sure I learned about from a thread like this on HN...) It sort of "flattens out" your JSON to allow…
comment by ratrocket · 2024-03-25 · in Show HN: Flatito, grep for YAML and JSON files -
related project, gron: https://github.com/tomnomnom/gron ▶ gron "https://api.github.com/repos/tomnomnom/gron/commits?per_page=1" | fgrep "commit.author" json[0].commit.author = {}; json[0].commit.author.date = "2016-07-02T10:51:21Z";…
comment by llimllib · 2024-03-25 · in Show HN: Flatito, grep for YAML and JSON files -
... which seems quite similar to gron [1]? [1] https://github.com/tomnomnom/gron
comment by samuell · 2024-03-20 · in Show HN: jnv: interactive JSON filter using jq -
It buffers all of its output statements in memory before writing to stdout: https://github.com/tomnomnom/gron/blob/master/main.go#L204
comment by haileys · 2023-12-03 · in Gron: Make JSON greppable -
…toss out some interesting links I've recently bookmarked in comments here. - gron (Greppable JSON): https://github.com/tomnomnom/gron - MarkDownload (Markdown Web Clipper): https://github.com/deathau/markdownload - Lean4 links: -- Theorem…
comment by macintux · 2023-12-02 · in Ask HN: What are some unpopular technologies you wish people knew more about? -
…into lines of key value format, making it compatible with grep and other simple stream operations. https://github.com/tomnomnom/gron
comment by Valodim · 2023-11-29 · in Jaq – A jq clone focused on correctness, speed, and simplicity -
…json[0].commit.author.email = "mail@tomnomnom.com"; json[0].commit.author.name = "Tom Hudson"; https://github.com/tomnomnom/gron It was suggested to me in HN comments on an article I wrote about `jq`, and I have found myself using it a lot…
comment by ishandotpage · 2023-11-29 · in Jaq – A jq clone focused on correctness, speed, and simplicity -
…reference to "gron" ("make JSON greppable"), which I find to be quite useful for many common tasks: https://github.com/tomnomnom/gron
comment by msluyter · 2023-11-29 · in Jaq – A jq clone focused on correctness, speed, and simplicity -
…of experience I already have at transformations on the command line.* The tool for that is likely https://github.com/tomnomnom/gron It's probably the best tool to go back and forth easily between json and line oriented.
comment by reegnz · 2023-11-10 · in Interactive examples for learning jq -
…pipe it to `gron` [3]. [1] https://github.com/mikefarah/yq [2] https://github.com/sclevine/yj [3] https://github.com/tomnomnom/gron
comment by PhilippGille · 2023-09-28 · in That's a Lot of YAML -
…Miller gron transforms JSON into discrete assignments to make it easier to grep for what you want https://github.com/tomnomnom/gron Miller is like awk, sed, cut, join, and sort for data formats such as CSV, TSV, JSON, JSON…
comment by defrost · 2023-09-24 · in Modern Linux Tools vs. Unix Classics: Which Would I Choose? -
The best config format is clearly GRON https://github.com/tomnomnom/gron
comment by afiori · 2023-09-22 · in XML is better than YAML – Hear me out -
I find `gron` to be very helpful for generating jq query strings https://github.com/tomnomnom/gron
comment by cwaffles · 2023-09-19 · in Fx – Terminal JSON Viewer -
…changing JSON: use the gron format [0] as config. Tools can parse it as JSON and that’s it. [0]: https://github.com/tomnomnom/gron
comment by jiehong · 2023-09-13 · in What is wrong with TOML? (2019) -
…for transforming JSON to and from a format that is more amenable to simple text tooling is gron : https://github.com/tomnomnom/gron Takes all the tree and hierarchy management away, makes it so ordering doesn’t matter. If I’m generating…
comment by jameshart · 2023-05-26 · in That people produce HTML with string templates is telling us something -
gron https://github.com/tomnomnom/gron It takes JSON input and produces flat, key-value output based on the path to the value. Usage with grep was obviously the original intention, but I've used it to help me better understand a given…
comment by placatedmayhem · 2022-12-20 · in Ask HN: Programs that saved you 100 hours? (2022 edition) -
You should checkout gron, it is great at flattening fragments of json. https://github.com/tomnomnom/gron
comment by sitkack · 2022-11-25 · in Jqjq: Jq Implementation of Jq -
Some alternative ideas for making JSON more readable: - Pipe into gron ( https://github.com/tomnomnom/gron ) to get a `foo.bar.baz = val` kind of syntax. - Pipe into visidata ( https://www.visidata.org/ ) to get a spreadsheet-like editable…
comment by feanaro · 2022-11-03 · in JC – JSONifies the output of many CLI tools -
Unrelated tool but also very useful in combination with JQ: gron https://github.com/tomnomnom/gron
comment by wooptoo · 2022-11-03 · in JC – JSONifies the output of many CLI tools -
Link: https://github.com/tomnomnom/gron Discussion: https://news.ycombinator.com/item?id=25006277 366 points | Nov 6, 2020 | 91 comments
comment by asicsp · 2022-11-03 · in JC – JSONifies the output of many CLI tools -
…be good for. A diff on the gron output before and after should contain all the info needed. [1] https://github.com/tomnomnom/gron
comment by kitd · 2022-05-10 · in What Is JSON Patch? -
Same boat here. I ended up finding gron https://github.com/tomnomnom/gron which resolved that issue for me. Now I don't have to look up how to use jq each time I want to quickly find something in some JSON.
comment by boyter · 2022-04-26 · in Zq: An easier and faster alternative to jq -
…json as a series of assignment statements that recreate the json value. It's pretty handy. [1] https://github.com/TomNomNom/gron
comment by omaranto · 2022-04-26 · in Zq: An easier and faster alternative to jq -
Also highly recommended is gron [0], to make json easily searchable [0] https://github.com/TomNomNom/gron
comment by kitd · 2022-04-26 · in Zq: An easier and faster alternative to jq -
…all you're doing is trying to grep some deeply nested field, it's way easier with gron, IMHO. [1] https://github.com/tomnomnom/gron
comment by msluyter · 2022-04-26 · in Zq: An easier and faster alternative to jq -
…CSV, Excel, Parquet, and more - https://github.com/multiprocessio/dsq gron: Make JSON greppable - https://github.com/tomnomnom/gron jello: Filter JSON and JSON Lines data with Python syntax - https://github.com/kellyjonbrazil/jello jless:…
comment by luckman212 · 2022-03-21 · in Ask HN: Local Tools for Viewing JSON -
Try https://github.com/tomnomnom/gron
comment by digitalsanctum · 2022-03-08 · in Select, put and delete data from JSON, TOML, YAML, XML and CSV files -
Another contender is gron which does the same. It's written in golang instead of rust. https://github.com/tomnomnom/gron <pre>$ cat test.json | gron</pre>
comment by aynawn · 2022-02-25 · in Jless – a command-line JSON viewer (written in Rust) -
gron [0] is another interesting JSON processor that follows UNIX philosophy: [0] https://github.com/tomnomnom/gron "Make JSON greppable!" "gron transforms JSON into discrete assignments to make it easier to grep for what you want and see…
comment by lr1970 · 2022-01-09 · in FX: An interactive alternative to jq to process JSON