The easiest way ot use this plugin is if you already have an HTML element that contains the JSON data.
In this case simply call the plugin without any parameters and you are all set :)
JSON painter can parse any manually entered data as well. This e shows just how easy it is do to.
Enter the JSON data in the box to the right and press the Paint it! button.
Enter the JSON data in the box to the right and press the Paint it! button.
Show the JSON from the AJAX
One of the most usefull places you can use the JSON painter is when you wish to display the JSON that is returned from the AJAX.
This example show exactly how to do that.
Select the example from the dropdown to see it in action!