$npx skillfedfor your agent

jstyleson

Library to parse JSON with js-style comments.

SkipPyPI Text ProcessingReleased Jun 2016541.4K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — jstyleson-0.0.2.tar.gz · builds from source
v0.0.2 · released 2016-06-21

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Package is abandoned and untested against modern Python versions; classifiers list only Python 2.7 and 3.5 support.
  • High install friction: package is abandoned (last commit 2021-07-13, 3706 days since release), marked as Alpha development status, and has not been updated since its initial 2016 release.
  • No runtime dependencies, but the lack of maintenance is a significant concern for long-term use.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes minimal restrictions—you can use, modify, and distribute this code freely as long as you include the original license notice. No compatibility issues with most projects.

last release 2016-06-21 (3706 days) · last repo commit 2021-07-13 · 41 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 541,427 downloads/mo, #6,095 on PyPI

Verify before relying

pip install jstyleson

import jstyleson
invalid_json = '{"foo": "bar", // comment\n}'
result = jstyleson.loads(invalid_json)
  • Whether the package works reliably with Python versions beyond 3.5 (no explicit requires_python constraint given).
  • Whether edge cases in comment/trailing-comma removal are handled correctly (no recent test coverage or bug reports visible).
  • Performance characteristics on large JSON files with complex comment patterns.
Same gist for agents: .md · .json

What it is and 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—none 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().

The 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

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.

Install

jstyleson on PyPI

Before you install

High install friction: package is abandoned (last commit 2021-07-13, 3706 days since release), marked as Alpha development status, and has not been updated since its initial 2016 release. No runtime dependencies, but the lack of maintenance is a significant concern for long-term use.

Package is abandoned and untested against modern Python versions; classifiers list only Python 2.7 and 3.5 support.

License in practice

MIT license is permissive and imposes minimal restrictions—you can use, modify, and distribute this code freely as long as you include the original license notice. No compatibility issues with most projects.

Quickstart

pip install jstyleson

import jstyleson
invalid_json = '{"foo": "bar", // comment\n}'
result = jstyleson.loads(invalid_json)

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.5 (no explicit requires_python constraint given).
  • Whether edge cases in comment/trailing-comma removal are handled correctly (no recent test coverage or bug reports visible).
  • Performance characteristics on large JSON files with complex comment patterns.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 3,706 days since the last release
Last repo commit
First released
Downloads541,427 / month, #6,095 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5

Evidence: jstyleson-0.0.2.tar.gz

Tags

Capabilities
json with comments parserjavascript style json parsingjson trailing comma supportparse commented jsonjson comment removalrelaxed json parserjson preprocessor
Topics
json-parsingabandoned
PyPI keywords
jsoncommentjavascriptparse

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “javascript style json parsing”

  • jstylesonParses JSON strings that contain JavaScript-style comments…
  • dirtyjsonParses JSON-like data from files containing syntax violations—single…
  • chompjsParses JavaScript objects embedded in HTML or text into Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also jsoncomment · json-with-comments · JSON_minify · json5kit · add-trailing-comma · json5 · commented-configparser · flake8-commas · json2html · ast-comments