oj

Fast JSON parser and visualization tool with command-line interface

brewmacoslinux
Try with needOr install directly
Source

About

JSON parser and visualization tool

Commands

oj

Examples

Pretty-print and validate JSON from a file$ oj < input.json
Parse and format JSON with custom indentation$ oj -i 2 input.json
Convert JSON to compact output and filter specific keys$ echo '{"name":"test","value":123}' | oj -c