jc

A utility to convert the output of multiple commands to JSON.

TLDR

Convert command output to JSON via pipe

$ [ifconfig] | jc [--ifconfig]
copy

Convert command output to JSON via magic syntax

$ jc [ifconfig]
copy

Output pretty JSON via pipe

$ [ifconfig] | jc [--ifconfig] -p
copy

Output pretty JSON via magic syntax

$ jc -p [ifconfig]
copy

Copied to clipboard
realt