title: How do I pretty-print existing JSON data with Java?
body: <p>I have a compact JSON string, and I want to format it nicely in Java without having to deserialize it first -- e.g. just like <a href="http://jsonlint.org" rel="noreferrer">jsonlint.org</a> does it.  Are there any libraries out there that provides this?</p>
  
  <p>A similar solution for XML would also be nice.</p>