Submit a product

jc

Converts shell command output and strings into JSON, YAML or dictionaries

ToolCommand lineOpen source

jc is a command-line tool and Python library that turns the text output of common shell commands, file type checks and plain strings into structured JSON, YAML or Python dictionaries. It is aimed at people writing shell scripts and automation who want to query command output with jq instead of parsing it by hand.

It is released under the MIT license and the source code is public on GitHub. The listed platform is Linux and the command line, and the library can be imported into Python programs. Because the output is structured, it can be piped into other tools such as jq.

Alternatives to jc

Products that do a similar job in Developer Tools.

All alternatives

yq

command-line processor for YAML, JSON, XML, CSV and TOML files

ToolDeveloper Tools··Open source·16k

dasel

command-line tool for querying and editing JSON, YAML, TOML and XML

ToolDeveloper Tools··Open source·8.2k

zx

JavaScript wrapper for writing shell scripts

ToolDeveloper Tools··Open source·46k

fx

Interactive terminal viewer and processor for JSON data

ToolDeveloper Tools··Open source·21k

gron

Command-line tool that flattens JSON into greppable lines

ToolDeveloper Tools··Open source·15k

PowerShell

cross-platform command-line shell and scripting language

ToolDeveloper Tools··Open source

m-cli

command-line toolkit of helper commands for macOS

ToolDeveloper Tools··Open source·9.9k

Windows Terminal

Command-line terminal app and console host for Windows

ToolDeveloper Tools··Open source·106k