jc

Converts command-line tool output to structured JSON format

brewmacoslinux
Try with needOr install directly
Source

About

Serializes the output of command-line tools to structured JSON output

Commands

jc

Examples

Convert ls output to JSON$ ls -la | jc
Parse ps command output as JSON$ ps aux | jc --ps
Convert ifconfig network output to JSON$ ifconfig | jc --ifconfig