New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

JSON_minify

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

JSON_minify

A simple script to minify valid JSON, containing C/C++ style comments

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

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/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc