I didn't like the "pretty" formatting of JSON.stringify() so I put this together. It is loosely based on a comment at php.net.
var formattedJSONString = JSONFormat( someJSONString );
| Name | Name | Last commit date | ||
|---|---|---|---|---|
I didn't like the "pretty" formatting of JSON.stringify() so I put this together. It is loosely based on a comment at php.net.
var formattedJSONString = JSONFormat( someJSONString );