/ Published in: JavaScript
This function will format a JSON object or string so that it can be displayed within a browser (within a textarea or "pre" styled element).
Example usage: http://jsfiddle.net/q2gnX/
You need to login to post a comment.
penguin999 on 10/12/12
1 person have marked this snippet as a favorite
This function will format a JSON object or string so that it can be displayed within a browser (within a textarea or "pre" styled element).
Example usage: http://jsfiddle.net/q2gnX/
You need to login to post a comment.