title: pretty-print json in python (pythonic way)
body: <p>I know that the <code>pprint</code> python standard library is for pretty-printing python data types. However, I'm always retrieving json data, and I'm wondering if there is any easy and fast way to pretty-print json data?</p>
  
  <p>No pretty-printing:</p>
  
  <pre><code>import requests
  r = requests.get('http://server.com/api/2/....')
  r.json()
  </code></pre>
  
  <p>With pretty-printing:</p>
  
  <pre><code>&gt;&gt;&gt; import requests
  &gt;&gt;&gt; from pprint import pprint
  &gt;&gt;&gt; r = requests.get('http://server.com/api/2/....')
  &gt;&gt;&gt; pprint(r.json())
  </code></pre>