skip to navigation
skip to content

mjson 0.3.1

Extended "python -mjson.tool"

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
}
 
File Type Py Version Uploaded on Size
mjson-0.3.1-py2.7.egg (md5) Python Egg 2.7 2013-02-17 4KB
mjson-0.3.1.tar.gz (md5) Source 2013-02-17 1KB