title: Crunching json with python
body: <p>Echoing my <a href="https://stackoverflow.com/questions/667359/crunching-xml-with-python">other question</a> now need to find a way to crunch json down to one line: e.g.</p>
  
  <pre><code>{"node0":{
      "node1":{
          "attr0":"foo",
          "attr1":"foo bar",
          "attr2":"value with        long        spaces"
      }
  }}
  </code></pre>
  
  <p>would like to crunch down to a single line:</p>
  
  <pre><code>{"node0":{"node1":{"attr0":"foo","attr1":"foo bar","attr2":"value with        long        spaces"}}}
  </code></pre>
  
  <p>by removing insignificant white spaces and preserving the ones that are within the value. Is there a library to do this in python?</p>
  
  <p><b>EDIT</b>
  Thank you both drdaeman and Eli Courtwright for super quick response!</p>