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 details)

Uploaded Source

Built Distribution

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

Uploaded Egg

File details

Details for the file mjson-0.3.1.tar.gz.

File metadata

  • Download URL: mjson-0.3.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mjson-0.3.1.tar.gz
Algorithm Hash digest
SHA256 9fe2ebb5f6772f7a27cd45c719f5e3017dbb5e9e64035f20ba8680454c966e22
MD5 11ac2df9b81a1e0d0bf26e7ee05399fa
BLAKE2b-256 59ebc90acfaaa9b05ce34c72dc317f98593ee5fde58018d0841f9039231dcb98

See more details on using hashes here.

File details

Details for the file mjson-0.3.1-py2.7.egg.

File metadata

  • Download URL: mjson-0.3.1-py2.7.egg
  • Upload date:
  • Size: 4.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mjson-0.3.1-py2.7.egg
Algorithm Hash digest
SHA256 2883593304db741970b218b0304a7ad2f2c6ed99c930c5a9a5577eb8304ca602
MD5 4ed1192f16f0f36903f947fb484787d8
BLAKE2b-256 6eb11448f1c1959482b4087ae7ea9be302c38c4ef8e18e6c75ab1f5b65cb7c2a

See more details on using hashes here.

Supported by

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