3 ms·
“prettyPrint” is an in-browser JavaScript “variable dumper”
- nirmal 17y agoI've been using obj.toSource() until now but this will definitely come in handy https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object/toSource https://developer.mozilla.org/en/Core_JavaScript_1.5_Referen...
- seldo 17y agoSo, you know how when you point Firefox at an XML file it automatically displays styled XML? Can somebody please write an extension that does that for JSON?
- kidsat 17y agohttp://brh.numbera.com/software/jsonview/ http://brh.numbera.com/software/jsonview/
- entelarust 17y agoNice! Thanks for this
- amix 17y agoI think Firebug (and Firebug Lite for IE, Safari and Opera) are far better tools than this looks to be.
- tezza 17y agoIf you are interested in this you may also want to check out Blackbird visual console:: http://www.gscottolson.com/blackbirdjs/ http://www.gscottolson.com/blackbirdjs/ a simple way to log messages in JavaScript and an attractive console to view and filter them
- tlrobinson 17y agoThere's also jsDump if you don't need/want a fancy GUI: http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-an...