4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:print tag:python tag:json tag:pretty — newest first
  • unix - How can I pretty-print JSON? - Stack Overflow

    How to pretty print a json string :

    cat pref.json | python -m json.tool

    for uuoc nazi ;) :

    < pref.json python -m json.tool
    or
    python -m json.tool < pref.json

    September 3, 2014 - permalink - http://stackoverflow.com/questions/352098/how-can-i-pretty-print-json
    commandline json linux pretty print python