{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"}],"enrichment":{"capability":"Parses and serializes JSON with support for single-line and block comments, plus trailing commas in arrays and objects.","skillfed_tags":["json-parsing","configuration"],"use_cases":["Parse configuration files in JSONC format that include comments and trailing commas.","Strip comments from JSON during a preprocessing step before passing to strict JSON parsers.","Serialize Python objects to JSON while preserving or adding explanatory comments for readability.","Handle hand-edited JSON files that developers have annotated with trailing commas and comments."],"what_it_does":"json-with-comments is a Python library that extends JSON parsing to handle comments and trailing commas\u2014features common in configuration files but not part of the JSON specification. It provides load/loads functions that strip single-line (//) and block (/* */) comments before parsing, and dump/dumps functions that can add comments and trailing commas when serializing.\n\nThe package has no external dependencies and supports Python 3.7 through 3.13 on both CPython and PyPy. Use it when you need to read or write JSON-like configuration files that include comments, or when working with JSONC format commonly found in configuration tools.","worth_installing":"Yes. The package is actively maintained, has no dependencies, installs easily, carries a permissive MIT license, and solves a real problem for anyone working with JSONC files or commented JSON. No known vulnerabilities. Install it if you need to parse or generate JSON with comments."},"id":"json-with-comments","links":{"html":"https://skillfed.io/packages/json-with-comments","md":"https://skillfed.io/packages/json-with-comments.md","pypi":"https://pypi.org/project/json-with-comments/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-12-10","license_spdx":null,"license_treatment":"permissive","name":"json-with-comments","python_support":"supports_current","summary":"JSON with Comments (jsonc) for Python"},"popularity":{"monthly_downloads":136908,"position":11381,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.10"}
