Format JSON string for easy user viewing

Not sure how to phrase this question.

I’d like to take a JSON Item and format it for display in my logging module. Much like Free Online JSON Formatter does but programmatically. The easiest way I can think of is by displaying the results of an API call to a web service in an HTMLViewer control. I have been searching for such a site for a while but have come up empty handed. Does anyone know of a site or have a better way to accomplish this?

Do you want just a static display or with the interactivity?

For static you can look at the following to get a formatted result:
http://documentation.xojo.com/index.php/JSONItem.Compact
http://documentation.xojo.com/index.php/JSONItem.IndentSpacing
http://documentation.xojo.com/index.php/JSONItem.ToString