JQuery loadJSON plugin
This is a JQuery plugin that enables developers to load JSON data from the server and load JSON object into the DOM. No templating language is required - this plugin matches DOM elements in the HTML page with a JSON object using a DOM element properties.
Usage
To use loadJSON plugin two items should be defined:
* HTML code that will be used as template
* JSON object that will be used to populate template
HTML template
Template is plain HTML code. Only requirement is that elements that should be populated must have id, name, class, or rel attributes that have matching properties in the JSON object. Example of HTML template is shown below: