{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Parses JSON files with comments (.jsonc) and converts between .jsonc and .json formats, stripping comments in the process.","skillfed_tags":["json-parsing","config-files","comment-stripping"],"use_cases":["Load configuration files that use JSONC format (with comments for documentation) into Python dicts for application startup.","Convert legacy .jsonc config files to standard .json format for compatibility with JSON-only tools.","Parse VSCode settings or other editor config files that use JSONC syntax natively.","Strip comments from JSONC data during a build or preprocessing step before passing to downstream JSON consumers."],"what_it_does":"jsonc-parser is a lightweight, zero-dependency Python module for reading and converting JSON files that contain comments (.jsonc format). It provides a static JsoncParser class with methods to parse .jsonc files or strings into Python dictionaries, stripping comments in the process, and to convert between .jsonc and .json file formats.\n\nThe package is designed for simple, straightforward use: import the class, call one of its parsing or conversion methods with a file path or string, and get back clean JSON data. It raises custom exceptions (FileError, FunctionParameterError, ParserError) to signal problems with file format, invalid parameters, or unparseable content. Because it has no runtime dependencies and a pure-Python implementation, installation is frictionless.","worth_installing":"Yes, if you need to parse JSONC files and are comfortable with an abandoned package. The code is simple, has no dependencies, and works reliably for its stated purpose on Python 3.5\u20133.9. However, do not expect bug fixes or updates for newer Python versions. If you require ongoing maintenance, consider an actively maintained alternative."},"id":"jsonc-parser","links":{"html":"https://skillfed.io/packages/jsonc-parser","md":"https://skillfed.io/packages/jsonc-parser.md","pypi":"https://pypi.org/project/jsonc-parser/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-05-23","license_spdx":null,"license_treatment":"permissive","name":"jsonc-parser","python_support":"supports_current","summary":"A lightweight, native tool for parsing .jsonc files"},"popularity":{"monthly_downloads":283286,"position":8074,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.5"}
