Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Convert to JSON - Format Command Output | Online Free DevTools by Hexmos

Format command output with jc, converting to JSON for easy parsing and integration. Get structured data from any command line tool. Free online tool, no registration required.

jc-json

Convert the output of multiple commands to JSON. More information: https://github.com/kellyjonbrazil/jc.

  • 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|--pretty]}}

  • Output pretty JSON via magic syntax:

jc {{[-p|--pretty]}} {{ifconfig}}

See Also