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 multi-line
`/* .. */`).

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

Installation
------------

You can install using pip as follows::

pip install JSON-minify

If you wish to use the development version fo JSON-minify, you can install it
as follows::

pip install git+https://github.com/getify/JSON.minify@python


Testing
-------

To run the tests, just execute json_minify.py.

::

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.3.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.3.0
File Size Uploaded Provenance Actions
JSON_minify-0.3.0.tar.gz 3.3 kB Without provenance Details for JSON_minify-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.5 kB

Release files / JSON_minify-0.3.0.tar.gz

Download URL JSON_minify-0.3.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
499717626144a533d64ed4a1513976cf2212958b6806a66e07dd8e22207df559
BLAKE2b-256 checksum
How to use checksums
b51da641b3c8a59b06dcb4adf86adc8e5ea73942a958139ccaf607b2a8c473bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL JSON_minify-0.3.0-py2.py3-none-any.whl
Size 5.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
268e6966c0f1dcb32ac54e1d047b83deba9ce711c0763ceba63f26d3aeedf656
BLAKE2b-256 checksum
How to use checksums
b1876002eeb7478fae1344a8dbcc1c1594d1755e73c1d179ff697ab881bbfa06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for JSON_minify 0.3.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