JSON_minify
A simple script to minify valid JSON, containing C/C++ style comments
Decision gist · record as of 2026-08-14
Yes, if you need to minify JSON with comment removal and can tolerate dormant maintenance. The package is simple, has no dependencies, and carries no security vulnerabilities. However, verify compatibility with your Python version first, and consider whether the lack of active maintenance poses a risk for your use case—if you need ongoing support or encounter bugs, you may need to fork or find an actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction installation with no runtime dependencies.
- Maintenance is dormant—last release was 2017-10-10 and no commits since 2024-02-06—so expect no active bug fixes or feature updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing use in proprietary and open-source projects with minimal restrictions; attribution is required but no copyleft obligations apply.
last release 2017-10-10 (3230 days) · last repo commit 2024-02-06 · 417 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,574 downloads/mo, #13,716 on PyPI
Alternatives
Verify before relying
pip install JSON-minify
import json_minify
minified = json_minify.json_minify('{"key": "value" /* comment */}')- Whether the package handles edge cases in comment parsing (nested comments, escaped quotes within comments) as robustly as the original JavaScript implementation
- Current Python version compatibility—classifiers list Python 2 and 3 but requires_python is empty; unclear if it still works on modern Python 3.x releases
What it is and what it does
JSON-minify is a Python port of the JavaScript JSON-minify utility that strips whitespace and removes JavaScript-style comments from JSON-like input to produce valid, minified JSON. It lets you write human-readable JSON with comments during development, then minify the content before parsing or sending it over the network.
The package has no runtime dependencies and installs with low friction. However, it has been dormant since late 2017 with no active maintenance, so it is unlikely to receive updates for new Python versions, edge cases, or compatibility issues. The MIT license is permissive and poses no legal barrier to use.
Use it for
- Strip comments and whitespace from JSON configuration files before parsing them in production code
- Reduce JSON payload size for transmission in bandwidth-constrained environments
- Convert developer-friendly annotated JSON (with comments) into valid JSON for APIs or data interchange
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to minify JSON with comment removal and can tolerate dormant maintenance.
The package is simple, has no dependencies, and carries no security vulnerabilities. However, verify compatibility with your Python version first, and consider whether the lack of active maintenance poses a risk for your use case—if you need ongoing support or encounter bugs, you may need to fork or find an actively maintained alternative.
Install
json-minify on PyPI
Before you install
Low friction installation with no runtime dependencies. Maintenance is dormant—last release was 2017-10-10 and no commits since 2024-02-06—so expect no active bug fixes or feature updates.
License in practice
MIT license is permissive, allowing use in proprietary and open-source projects with minimal restrictions; attribution is required but no copyleft obligations apply.
Quickstart
pip install JSON-minify
import json_minify
minified = json_minify.json_minify('{"key": "value" /* comment */}')
Verify before relying
- Whether the package handles edge cases in comment parsing (nested comments, escaped quotes within comments) as robustly as the original JavaScript implementation
- Current Python version compatibility—classifiers list Python 2 and 3 but requires_python is empty; unclear if it still works on modern Python 3.x releases
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 3,230 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,574 / month, #13,716 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Utilities |
Evidence: JSON_minify-0.3.0-py2.py3-none-any.whl
Tags
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 › “json minify remove comments”
- JSON_minifyMinifies JSON by removing whitespace and JavaScript-style comments…
- htmlmin2Minifies HTML by removing unnecessary whitespace and comments while…
- jsminMinifies JavaScript code by removing unnecessary characters while…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also htmlmin2 · python-minifier · jstyleson · htmlmin · json-with-comments · rjsmin · gron · jsmin · django-htmlmin · jsonc-parser