{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"Parses JSON5 (JSON with comments, trailing commas, unquoted keys) into a concrete syntax tree and converts it back to source or standard JSON while preserving formatting and comments.","skillfed_tags":["json-parser","cst","roundtrip"],"use_cases":["Parse and edit configuration files written in JSON5 while preserving user comments and formatting","Convert JSON5 config files to standard JSON for consumption by tools that only accept strict JSON","Build linters or formatters for JSON5 that need to understand and modify the syntax tree","Programmatically transform JSON5 data structures using visitor patterns without losing source fidelity","Support JSONC (JSON with comments) in applications that currently expect strict JSON"],"what_it_does":"json5kit is a parser and code transformer for JSON5\u2014a JSON superset that allows comments, trailing commas, unquoted object keys, and single-quoted strings. It builds a concrete syntax tree (CST) that preserves the original source structure, so you can parse JSON5, modify it programmatically, and convert it back to source while keeping comments and formatting intact, or export it as standard JSON.\n\nThe package has no runtime dependencies and supports Python 3.7 and later. It provides a visitor pattern for tree traversal and transformation, letting you inspect and modify parsed values while maintaining the source representation. This is useful for configuration files, build scripts, or any JSON-like format where readability and comments matter.","worth_installing":"Yes, if you need to parse JSON5 or JSONC and preserve formatting or comments. The package is stable and has no dependencies, making it low-risk to add. However, maintenance is dormant (no updates since May 2023), so if you hit edge cases or need new JSON5 features, you may need to fork or patch it yourself."},"id":"json5kit","links":{"html":"https://skillfed.io/packages/json5kit","md":"https://skillfed.io/packages/json5kit.md","pypi":"https://pypi.org/project/json5kit/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-05-16","license_spdx":null,"license_treatment":"permissive","name":"json5kit","python_support":"supports_current","summary":"A Roundtrip parser and CST for JSON, JSONC and JSON5."},"popularity":{"monthly_downloads":88138,"position":13746,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
