Format JSON
Format JSON and Color(Linux Only) returns given data if invalid json
bninja json [flags]
// Format JSON and colorize it
curl -v http://somewhere/data.json | bninja json --color
// Sort Keys In Ascending Order
cat data.json | bninja json --sort
--color Colorize JSON (Only Linux)
-h, --help help for json
--sort Sort JSON Keys
-i, --clipin Import data from clipboard
-o, --clipout Export data to clipboard
--file string Import data from File
--out string Export data to File
--stdout Print to Stdout even if data if data is exported to clipboard or file
- bninja - A Handy Toolkit for bash ninja's