Skip to main content

Extended "python -mjson.tool"

Project description

This module is extended “python -mjson.tool”.

Install

$ pip install mjson

How to use

Same the original

$ echo '{"a":1,"b":2}' | mjson
{
    "a": 1,
    "b": 2
}

Change indents

$ echo '{"a":1,"b":2}' | mjson -i 2
{
  "a": 1,
  "b": 2
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mjson-0.3.1.tar.gz (1.9 kB view hashes)

Uploaded source

Built Distribution

mjson-0.3.1-py2.7.egg (4.5 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page