{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Transforms JSON into grep-able line-by-line output, where each line represents a single value assignment with its full path, making it easier to search and filter JSON data.","skillfed_tags":["json-cli","text-processing"],"use_cases":["Search for specific keys or values in large JSON files using grep patterns.","Extract particular fields from complex nested JSON structures via command-line filters.","Debug API responses by viewing JSON in a line-by-line format that's easier to scan.","Combine JSON queries with Unix text processing tools (grep, awk, sed) in shell pipelines.","Convert JSON to a format suitable for version control diffs or line-based analysis."],"what_it_does":"Gron is a Python implementation of the original gron tool that converts JSON into a line-oriented, grep-friendly format. Each line represents one value assignment with its complete path, making it straightforward to search, filter, and analyze JSON data using standard Unix tools like grep, awk, and sed.\n\nThe tool reads JSON from a file or stdin and outputs each field and value as a separate line in the form `json.path.to.field = value;`, with array indices shown as `[n]`. This transformation makes JSON data searchable without needing specialized JSON query tools, and the output can be piped back through gron's reverse function to reconstruct the original JSON. It requires Python 3.10 or later and has no external runtime dependencies.","worth_installing":"Yes, if you work with JSON on the command line and want to leverage Unix text tools for searching and filtering. The package is stable, has no dependencies, and installs easily. The dormant maintenance status is not a concern for a mature, single-purpose tool with no external dependencies, but verify that the feature set meets your needs\u2014it is primarily a CLI tool, not a general-purpose JSON library."},"id":"gron","links":{"html":"https://skillfed.io/packages/gron","md":"https://skillfed.io/packages/gron.md","pypi":"https://pypi.org/project/gron/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-08-24","license_spdx":null,"license_treatment":"permissive","name":"gron","python_support":"supports_current","summary":"Python library to grep JSON."},"popularity":{"monthly_downloads":514095,"position":6240,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.4.0"}
