{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Converts output from popular CLI tools, file-types, and strings into structured JSON for easier parsing in scripts and automation.","skillfed_tags":["cli-parsing","json-conversion","automation"],"use_cases":["Pipe dig, nslookup, or other network command output through jc and jq to extract specific fields programmatically.","Parse system command output in Ansible playbooks using the community.general jc filter plugin.","Convert file-type outputs (e.g., CSV, XML, YAML) to JSON for downstream processing in scripts.","Build monitoring and alerting systems that ingest CLI tool output and transform it into queryable JSON.","Automate infrastructure orchestration in Saltstack or Nornir by parsing command results as structured data."],"what_it_does":"jc is a command-line JSON converter that transforms the output of popular CLI tools, file-types, and common strings into structured JSON. It works both as a CLI filter (piping command output through jc) and as a Python library, returning dictionaries or lists of dictionaries instead of raw JSON strings. The package includes parsers for many standard Unix tools and supports both strict schema conversion (with type inference and semantic context) and raw pre-processed output modes.\n\nTypical use cases include shell scripting with jq for further processing, parsing command output in Ansible, Saltstack, and Nornir automation frameworks, and building data pipelines that need structured input from unstructured CLI output. It has three runtime dependencies (ruamel.yaml, xmltodict, Pygments) and requires Python 3.6 or later.","worth_installing":"Yes. jc is actively maintained, has no known vulnerabilities, low install friction, and solves a genuine problem in CLI data processing. The permissive MIT license and broad parser coverage make it a practical choice for automation, scripting, and infrastructure-as-code workflows. Install if you regularly need to extract structured data from command-line tool output."},"id":"jc","links":{"html":"https://skillfed.io/packages/jc","md":"https://skillfed.io/packages/jc.md","pypi":"https://pypi.org/project/jc/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-18","license_spdx":null,"license_treatment":"permissive","name":"jc","python_support":"supports_current","summary":"Converts the output of popular command-line tools and file-types to JSON."},"popularity":{"monthly_downloads":603777,"position":5809,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.25.7"}
