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
free 100$ digital ocean credit