{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"Parses and serializes JSON5 (an extended JSON format with comments, unquoted keys, and trailing commas) with an interface similar to Python's standard json module, plus support for round-trip preservation of comments and formatting.","skillfed_tags":["json-parser","configuration-format","comment-preservation"],"use_cases":["Load configuration files written in JSON5 format with comments and relaxed syntax into Python dictionaries.","Build linters or formatters that parse JSON5 and preserve comments and formatting during output.","Edit JSON5 documents programmatically using the abstract model API while maintaining original comments and structure.","Tokenize JSON5 input for custom analysis or validation workflows.","Work with JSON5 documents that use unquoted identifiers and other relaxed syntax features."],"what_it_does":"json-five is a JSON5 parser and serializer for Python that extends standard JSON handling to support JSON5\u2014a relaxed JSON format allowing comments, unquoted object keys, trailing commas, and other conveniences. It provides two main interfaces: a simple loads/dumps API mirroring the standard library's json module, and a lower-level abstract model API for advanced use cases like linting, formatting, and custom serialization.\n\nThe package is designed to preserve non-data elements (comments, formatting, identifier styles) during round-trip operations, so you can load JSON5, modify it programmatically, and dump it back while keeping the original structure intact. It depends on sly and regex and is actively maintained with support for Python 3.8 through 3.11.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive Apache license, and fills a genuine gap for JSON5 support in Python. It is well-suited for configuration parsing and round-trip editing. The abstract model API is marked unstable, so avoid it if you need long-term compatibility guarantees, but the core loads/dumps interface is stable as of v1.0.0."},"id":"json-five","links":{"html":"https://skillfed.io/packages/json-five","md":"https://skillfed.io/packages/json-five.md","pypi":"https://pypi.org/project/json-five/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-06-11","license_spdx":null,"license_treatment":"permissive","name":"json-five","python_support":"supports_current","summary":"A JSON5 parser that, among other features, supports round-trip preservation of comments"},"popularity":{"monthly_downloads":143860,"position":11165,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.2"}
