Re:Resources for JavaScript Developers
by navitronic on Thursday March 15, 2012 @01:36AM
(#3707035)
Inherited some terrible javascript from a colleague or otherwise: http://jsbeautifier.org
[ Parent
| on HN ]
Re:Resources for JavaScript Developers
by navitronic on Thursday March 15, 2012 @01:37AM
(#3707041)
I should clarify, I mean terribly formatted.
Also works great for displaying JSON in a consistent way, useful for visualising and understanding object hierarchies.
Re:Resources for JavaScript Developers
by thisisblurry on Thursday March 15, 2012 @08:28AM
(#3708080)
http://jsonlint.com also does a great job of not only pretty-printing (valid) JSON, but also checking it for any errors.