./textproc/gron [make JSON greppable]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 0.6.1, Package name: gron-0.6.1
Maintained by: The OpenBSD ports mailing-list
Master sites:
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 of JSON but have terrible

$ gron "https://api.github.com/repos/tomnomnom/gron/commits?per_page=1" | \
fgrep "commit.author" | grep -v email
json[0].commit.author = {};
json[0].commit.author.date = "2016-07-02T10:51:21Z";
json[0].commit.author.name = "Tom Hudson";

gron can work backwards too, enabling you to turn your filtered data back
into JSON (gron --ungron).

Filesize: 348.938 KB
Version History (View Complete History)
  • (2021-03-15) Package added to openports.se, version gron-0.6.1 (created)
[show/hide] View available PLISTS (Can be a lot of data)