ibraheemdev/modern-unix

Proposal: gron

seanjensengrey opened this issue · 1 comments

Gron is a nice json tree to a line per leaf element transformer and back again. It pairs nicely with 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