sbjson

JSON CLI parser and reformatter based on SBJson v5

brewmacoslinux
Try with needOr install directly
Source

About

JSON CLI parser & reformatter based on SBJson v5

Commands

sbjson

Examples

Pretty-print a JSON file with indentation$ sbjson < input.json
Validate and reformat JSON from stdin$ echo '{"name":"test"}' | sbjson
Parse and minify JSON output$ sbjson --compact < data.json