json - parse json in cli
json awesome
Install
$ npm install -g @cliz/json
How to
USAGE
▸ json <field> [OPTIONS...]
ARGUMENTS
<field> JSON field
OPTIONS
-f, --file [file] JSON file
-p, --pretty Pretty JSON
GLOBAL OPTIONS
-h, --help Display global help or command-related help.
-V, --version Display version.
--no-color Disable use of colors in output.
-v, --verbose Verbose mode: will also output debug messages.
--quiet Quiet mode - only displays warn and error messages.
--silent Silent mode: does not output anything, giving no
indication of success or failure other than the exit
code.
Examples
$ echo '{"x": { "z": 6},"y":2}' | json x.z
Contributors
LICENSE
MIT