I've written a JSON API, but I won't be working on the views.
How do I test the JSON API with a simple webpage with prettify, syntax highlighted JSON result?
Let's use the following GET API call as an example:
http://www.google.com/calendar/feeds/developer-calendar@google.com/public/full?alt=json
NOTE: this question is meant to be instructional, answer will be provided. I searched and didn't find a similar answer.
Here's the entire HTML file with in-line javascript.
I used jQuery and highlight.js in the solution.
I ran the result on Chrome, I don't believe it works properly in IE.