Posted By

penguin999 on 10/12/12


Tagged

javascript json formatter


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

candicom
Beppoi


JSON Formatter


 / 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/

Report this snippet  

You need to login to post a comment.