Skip to main content

# JSON-minify

A port of the JSON-minify utility to the Python language.

## Overview

JSON-minify minifies blocks of JSON-like content into valid JSON by removing all whitespace and JS-style comments (single-line // and multiline /* .. */).

With JSON-minify, you can maintain developer-friendly JSON documents, but minify them before parsing or transmitting them over-the-wire.

## Testing To run the tests, just execute json_minify.py, i.e.

python json_minify.py

## License

The code and all the documentation are released under the MIT license.

http://getify.mit-license.org/

Metadata

Release files for JSON_minify 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for JSON_minify 0.2.0
File Size Uploaded Provenance Actions
JSON_minify-0.2.0.tar.gz 3.9 kB Without provenance Details for JSON_minify-0.2.0.tar.gz

Release files / JSON_minify-0.2.0.tar.gz

Download URL JSON_minify-0.2.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2d69a606f6ed0c00111f8ebd9cc8fa2276dca9099e42744cf5f3ea94ccab6789
BLAKE2b-256 checksum
How to use checksums
c57185e48c0faf0d66491d251e86bdf7efc8463cd23bece8d7dae19d2682a1a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for JSON_minify 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page