{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/2"}],"enrichment":{"capability":"Parses JSON strings that contain JavaScript-style comments (single-line, multi-line, and inline) and trailing commas, which the standard library json module cannot handle.","skillfed_tags":["json-parsing","abandoned"],"use_cases":["Parsing configuration files in JSON format that developers have annotated with comments for clarity.","Loading JSON exported from JavaScript environments that may include trailing commas or comments.","Preprocessing user-provided JSON that doesn't strictly conform to the JSON standard but is otherwise valid.","Migrating legacy systems that store configuration in commented JSON to Python without rewriting the source files."],"what_it_does":"jstyleson is a lightweight wrapper around Python's standard json module that preprocesses JSON strings to strip out JavaScript-style comments and trailing commas before parsing. It solves the problem of parsing informal JSON that includes single-line comments (//), multi-line comments (/* */), inline comments, and trailing commas\u2014none of which the standard library supports. The package works by removing these elements via a dispose function, then passing the cleaned string to json.loads().\n\nThe package has no external runtime dependencies and is straightforward to use: call jstyleson.loads() instead of json.loads() on your commented JSON string. However, it has been abandoned since 2016 and was only ever marked as Alpha. It was tested only against Python 2.7 and 3.5, and there is no evidence of maintenance or compatibility verification for modern Python versions.","worth_installing":"No. The package is abandoned (last update 2021, no commits since), marked as Alpha, and has not been verified against Python versions beyond 3.5. While the core functionality is simple and there are no known vulnerabilities, the lack of maintenance and unclear compatibility with modern Python make it a poor choice for new projects. Consider using a maintained alternative or preprocessing JSON externally if you need comment support."},"id":"jstyleson","links":{"html":"https://skillfed.io/packages/jstyleson","md":"https://skillfed.io/packages/jstyleson.md","pypi":"https://pypi.org/project/jstyleson/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-06-21","license_spdx":null,"license_treatment":"permissive","name":"jstyleson","python_support":"unspecified","summary":"Library to parse JSON with js-style comments."},"popularity":{"monthly_downloads":541427,"position":6095,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.2"}
