Stack Gems
Menu
← Catalog

jc

MIT CLI stdout→JSON so jq pipes stop parsing text

Python / Tooling · OSS/MIT · 8.7k

Reviewed 2026-09-12 · last push 2026-10-18 · repo checked 2026-10-19

What's Good

MIT. kellyjonbrazil/jc. Dozens of parsers that turn common CLI output, file types, and strings into JSON/YAML/dicts — pipe-friendly for jq and automation. Python library + CLI; docs at kellyjonbrazil.github.io/jc; source github.com/kellyjonbrazil/jc.

The Catch

Vs jq (JSON *filter*): jc is the *ingress* that makes stdout JSON; it does not replace jq transforms. Parser coverage is wide but not infinite — unsupported commands still need custom parsing. Python/pip (or a release binary) is a dependency versus tools that ship only static Go/Rust.

Verdict

MIT stdout→JSON. Free forever; serialize the CLI before you invent another awk field splitter.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/jc.svg)](https://stackgems.com/gems/jc)

HTML

<a href="https://stackgems.com/gems/jc"><img src="https://stackgems.com/badge/jc.svg" alt="jc reviewed on Stack Gems" height="20"></a>

Related

Python →