This plugin can be directly used to render the JSON response received from a Metamug Backend API into jquery datatable.
$('#datatable').mtgDataTable(apiUrl, colNames);
This plugin requires both JQuery and JQuery Datatable Plugin. The Metamug API provides data for the example to work
For additional options in Datatable, you can use HTML5 Data Options