OpenBSD Handbook

OpenBSD 7.9 release · amd64 · Generated 2026-09-09

gron-0.7.1p0

make JSON greppable

Back to search · Not supplied

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" | 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).

Package information

Ports path
textproc/gron
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
textproc, lang/go
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, riscv64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Build

Installing and updating packages · Package details as JSON