CVSROOT: /cvs Module name: ports Changes by: st...@cvs.openbsd.org 2021/03/15 05:12:16
Log message: import ports/textproc/gron, ok kmos@ landry@ 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 documentation. $ 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). Status: Vendor Tag: sthen Release Tags: sthen_20210315 N ports/textproc/gron/Makefile N ports/textproc/gron/distinfo N ports/textproc/gron/pkg/DESCR N ports/textproc/gron/pkg/PLIST No conflicts created by this import