Blame gron.1

f2edab6
.TH GRON 1
f2edab6
.SH NAME
f2edab6
gron \- Transform JSON into discrete assignments to make it greppable
f2edab6
.SH SYNOPSIS
f2edab6
.B gron
f2edab6
.RB [OPTIONS] [FILE|URL|-]
f2edab6
.SH DESCRIPTION
f2edab6
gron transforms JSON into discrete assignments to make it easier to grep for
f2edab6
what you want and see the absolute 'path' to it. It eases the exploration of
f2edab6
APIs that return large blobs of JSON.
f2edab6
f2edab6
.SH OPTIONS
f2edab6
.TP
f2edab6
.B -u, --ungron
f2edab6
Reverse the operation (turn assignments back into JSON)
f2edab6
.TP
f2edab6
.B -c, --colorize
f2edab6
Colorize output (default on tty)
f2edab6
.TP
f2edab6
.B -m, --monochrome
f2edab6
Monochrome (don't colorize output)
f2edab6
.TP
f2edab6
.B -s, --stream
f2edab6
Treat each line of input as a separate JSON object
f2edab6
.TP
f2edab6
.B -k, --insecure
f2edab6
Disable certificate validation
f2edab6
.TP
f2edab6
.B -j, --json
f2edab6
Represent gron data as JSON stream
f2edab6
.TP
f2edab6
.B --no-sort
f2edab6
Don't sort output (faster)
f2edab6
.TP
f2edab6
.B --version
f2edab6
Print version information
f2edab6
f2edab6
.SH EXIT CODES
f2edab6
.TP
f2edab6
.B 0
f2edab6
OK
f2edab6
.TP
f2edab6
.B 1
f2edab6
Failed to open file
f2edab6
.TP
f2edab6
.B 2
f2edab6
Failed to read input
f2edab6
.TP
f2edab6
.B 3
f2edab6
Failed to form statements
f2edab6
.TP
f2edab6
.B 4
f2edab6
Failed to fetch URL
f2edab6
.TP
f2edab6
.B 5
f2edab6
Failed to parse statements
f2edab6
.TP
f2edab6
.B 6
f2edab6
Failed to encode JSON
f2edab6
f2edab6
.SH EXAMPLES
f2edab6
f2edab6
gron /tmp/apiresponse.json
f2edab6
f2edab6
gron http://jsonplaceholder.typicode.com/users/1 
f2edab6
f2edab6
curl -s http://jsonplaceholder.typicode.com/users/1 | gron
f2edab6
f2edab6
gron http://jsonplaceholder.typicode.com/users/1 | grep company | gron --ungron