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. ▲ 3
    gron: Make JSON Greppable
    story by theanonymousone · 2026-10-27 · 0 comments
  2. …contents of a JSON file, you would maybe use `grep`, or perhaps `jq` and a well crafted query Try https://github.com/tomnomnom/gron .
  3. …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
  4. You might like https://github.com/tomnomnom/gron
    comment by iamjackg · 2026-03-27 · in A Faster Alternative to Jq
  5. Highly recommend gron. https://github.com/tomnomnom/gron
    comment by xendo · 2026-03-27 · in A Faster Alternative to Jq
  6. …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
  7. 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
  8. 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
  9. 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)
  10. …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
  11. 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
  12. 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
  13. 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
  14. gron makes nested JSON greppable https://github.com/tomnomnom/gron
  15. …back into a document (json). I'd love to see gron/ungron implemented for all tree structures. https://github.com/tomnomnom/gron
  16. 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
  17. gron ( https://github.com/tomnomnom/gron ) to transform it and query and then invert the transformation?
  18. Then you'll love gron https://github.com/tomnomnom/gron
  19. …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…
  20. 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";…
  21. ... which seems quite similar to gron [1]? [1] https://github.com/tomnomnom/gron
  22. 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
  23. ▲ 249
    Gron: Make JSON greppable
    story by mooreds · 2023-12-03 · 73 comments
  24. …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…
  25. …into lines of key value format, making it compatible with grep and other simple stream operations. https://github.com/tomnomnom/gron
  26. …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…
  27. …reference to "gron" ("make JSON greppable"), which I find to be quite useful for many common tasks: https://github.com/tomnomnom/gron
  28. …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
  29. …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
  30. …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…
  31. The best config format is clearly GRON https://github.com/tomnomnom/gron
  32. 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
  33. …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)
  34. …from people that dislike jq. If you're that way inclined, gron[0] might be more your thing. [0] https://github.com/tomnomnom/gron
    comment by ccakes · 2023-09-07 · in jq 1.7
  35. …has a --json flag or something similar, so that jc is not needed anymore. [1] https://jless.io/ [2] https://github.com/tomnomnom/gron
    comment by goku12 · 2023-09-07 · in jq 1.7
  36. …enough that you have to consult the documentation every time, try gron. It’s greppable json https://github.com/tomnomnom/gron
    comment by tambourine_man · 2023-09-07 · in jq 1.7
  37. Make JSON greppable! https://github.com/tomnomnom/gron I've been using `jq` for years and I'm always able to cobble together what I need, but I have yet to find it intuitive and I'm rarely able to arrive at a solution of any complexity…
    comment by js2 · 2023-09-07 · in jq 1.7
  38. ▲ 3
    Make JSON Greppable
    story by blondin · 2023-05-31 · 0 comments
  39. …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…
  40. 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…
  41. 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
  42. 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…
  43. Unrelated tool but also very useful in combination with JQ: gron https://github.com/tomnomnom/gron
  44. Link: https://github.com/tomnomnom/gron Discussion: https://news.ycombinator.com/item?id=25006277 366 points | Nov 6, 2020 | 91 comments
  45. ▲ 4
    Gron: Make JSON Greppable
    story by tambourine_man · 2022-10-18 · 0 comments
  46. ▲ 3
    Gron: Make JSON Greppable
    story by kiyanwang · 2022-05-22 · 0 comments
  47. …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?
  48. 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.
  49. …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
  50. Also highly recommended is gron [0], to make json easily searchable [0] https://github.com/TomNomNom/gron