jc
A utility to convert the output of multiple commands to JSON.
- Convert command output to JSON via pipe:
{ifconfig} | jc {--ifconfig}
- Convert command output to JSON via magic syntax:
jc {ifconfig}
- Output pretty JSON via pipe:
{ifconfig} | jc {--ifconfig} -p
- Output pretty JSON via magic syntax:
jc -p {ifconfig}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).