title: Is there a good JSON formatter library for PHP or JavaScript?
body: <p>Before I code one myself, I was wondering if there's a library out there, for PHP or JavaScript that can take a one-line JSON string and format it with tabs and line breaks so it's easy to read. </p>
  
  <p>Here is an online tool that does it: <a href="http://www.jsonlint.com/" rel="nofollow noreferrer">http://www.jsonlint.com/</a></p>
  
  <p>I just need to format the string, validation isn't needed.</p>