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

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

Built distribution (wheel)

Table of built distributions (wheels) for JSON_minify 0.2.1
File Interpreter ABI Platform Actions
JSON_minify-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for JSON_minify-0.2.1-py2.py3-none-any.whl

Release files / JSON_minify-0.2.1-py2.py3-none-any.whl

Download URL JSON_minify-0.2.1-py2.py3-none-any.whl
Size 4.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3978ef866e3a1b29e59a9e0c123585e07c7174709b2fe4a27560155b741e1794
BLAKE2b-256 checksum
How to use checksums
9c7fd2dab433984bbc5318aa63974f4dee24d4b27e4c8f79da3755b668755cb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for JSON_minify 0.2.1

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