{"categories":[{"label":"General","url":"https://skillfed.io/packages/category/text-processing-general"}],"enrichment":{"capability":"Parses and serializes JSON5 (a more lenient JSON variant) and standard JSON in Python, with output safe for HTML templates.","skillfed_tags":["json5","html-safe-serialization","cython-compiled"],"use_cases":["Parse configuration files in JSON5 format that allow comments and unquoted keys","Serialize Python objects to JSON for embedding directly in HTML templates without HTML-escaping vulnerabilities","Handle JSON data with trailing commas or other JSON5 relaxations from external sources","Replace the standard json module when lenient parsing of JSON-like input is needed","Generate JSON output safe for use in JavaScript contexts within web pages"],"what_it_does":"pyjson5 is a JSON5 parser and serializer written in Cython for Python 3. JSON5 is a more permissive variant of JSON that allows unquoted keys, trailing commas, comments, and other relaxations of strict JSON syntax. The library also handles standard JSON, making it a potential drop-in replacement for Python's built-in json module.\n\nThe serializer produces ASCII output with apostrophes, ampersands, and angle brackets encoded as Unicode escapes, making it safe for direct use in HTML templates without additional escaping. The parser handles all valid JSON5 1.0.0 and JSON data. The package has no runtime dependencies and supports Python 3.8 through 3.14, including recent CPython free-threading beta support.","worth_installing":"Yes. The package is actively maintained, production-stable, has no dependencies, supports current Python versions, carries no known vulnerabilities, and solves a real problem\u2014parsing lenient JSON5 and generating HTML-safe JSON output. Install it if you need JSON5 support or HTML-safe serialization; otherwise the standard json module suffices."},"id":"pyjson5","links":{"html":"https://skillfed.io/packages/pyjson5","md":"https://skillfed.io/packages/pyjson5.md","pypi":"https://pypi.org/project/pyjson5/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-15","license_spdx":null,"license_treatment":"permissive","name":"pyjson5","python_support":"supports_current","summary":"JSON5 serializer and parser for Python 3 written in Cython."},"popularity":{"monthly_downloads":2759922,"position":2901,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.1"}
