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 Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page