$npx skillfedfor your agent

jsonc-parser

A lightweight, native tool for parsing .jsonc files

With conditionsPyPI Text ProcessingReleased May 2021283.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jsonc_parser-1.1.5-py3-none-any.whl
v1.1.5 · released 2021-05-23 · Python >=3.5

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–3.9. However, do not expect bug fixes or updates for newer Python versions. If you require ongoing maintenance, consider an actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is straightforward with no runtime dependencies.
  • However, the package is abandoned—last commit was 2022-01-11 and no releases since 2021-05-23.
  • It remains marked Production/Stable and supports Python 3.5 through 3.9, but expect no maintenance for bugs or compatibility issues with newer Python versions.

License · maintenance · safety

MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute this package freely with minimal restrictions. No license-based barriers to adoption.

last release 2021-05-23 (1909 days) · last repo commit 2022-01-11 · 17 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 283,286 downloads/mo, #8,074 on PyPI

Verify before relying

pip install jsonc-parser

from jsonc_parser.parser import JsoncParser

data = JsoncParser.parse_file("config.jsonc")
print(data)
  • Whether the parser correctly handles all valid JSONC syntax (trailing commas, single-line and block comments) in practice.
  • Whether the package works reliably with Python versions beyond 3.9 despite being abandoned.
Same gist for agents: .md · .json

What it is and 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.

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

Use it for

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

Worth the install?

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

With conditions

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–3.9. However, do not expect bug fixes or updates for newer Python versions. If you require ongoing maintenance, consider an actively maintained alternative.

Install

jsonc-parser on PyPI

Before you install

Installation is straightforward with no runtime dependencies. However, the package is abandoned—last commit was 2022-01-11 and no releases since 2021-05-23. It remains marked Production/Stable and supports Python 3.5 through 3.9, but expect no maintenance for bugs or compatibility issues with newer Python versions.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute this package freely with minimal restrictions. No license-based barriers to adoption.

Quickstart

pip install jsonc-parser

from jsonc_parser.parser import JsoncParser

data = JsoncParser.parse_file("config.jsonc")
print(data)

Verify before relying

  • Whether the parser correctly handles all valid JSONC syntax (trailing commas, single-line and block comments) in practice.
  • Whether the package works reliably with Python versions beyond 3.9 despite being abandoned.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,909 days since the last release
Last repo commit
First released
Downloads283,286 / month, #8,074 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: jsonc_parser-1.1.5-py3-none-any.whl

Tags

Capabilities
parse json with commentsjsonc parserjson comments supportconvert jsonc to jsonstrip json commentsjsonc file parsingjson comment removal
Topics
json-parsingconfig-filescomment-stripping

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 › “parse json with comments”

  • jsonc-parserParses JSON files with comments (.jsonc) and converts between .jsonc…
  • jsoncommentParses JSON with comments, multiline strings, and trailing commas by…
  • json-fiveParses and serializes JSON5 (an extended JSON format with comments,…

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 json-with-comments · json5kit · jsoncomment · strip-markdown · ast-comments · JSON_minify · comment-parser · strip-ansi · jstyleson · pycomposefile