On 2021/03/14 22:06, Stuart Henderson wrote:
> woohoo! portgen go worked with no fuss this time around (this is very
> unusual for me! I tried with gron a few months ago and gave up but
> something improved in the meantime). It's quite handy for when you just
> want a quick search and don't want to wrap your head around the jq
> language.
> 
> OK to import?
> 
> $ pkg_info gron
> Information for inst:gron-0.6.1
> 
> Comment:
> make JSON greppable
> 
> Description:
> 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"
> json[0].commit.author = {};
> json[0].commit.author.date = "2016-07-02T10:51:21Z";
> json[0].commit.author.email = "[email protected]";
> json[0].commit.author.name = "Tom Hudson";
> 
> gron can work backwards too, enabling you to turn your filtered data back
> into JSON (gron --ungron).
> 
> Maintainer: The OpenBSD ports mailing-list <[email protected]>
> 
> 

Now with 100% more attachment.

Attachment: gron.tgz
Description: application/tar-gz

Reply via email to