Open seanjensengrey opened 2 years ago
Gron is a nice json tree to a line per leaf element transformer and back again. It pairs nicely with jq
jq
▶ gron "https://api.github.com/repos/tomnomnom/gron/commits?per_page=1" | fgrep "commit.author" | gron --ungron [ { "commit": { "author": { "date": "2016-07-02T10:51:21Z", "email": "mail@tomnomnom.com", "name": "Tom Hudson" } } } ]
or you can use fx and not three differenet tools
Gron is a nice json tree to a line per leaf element transformer and back again. It pairs nicely with
jq