I want to represent tabular data in json file. I want to read this json file using datatable ajaxsource tag as shown below.
$(document).ready(function() {
var oTable = $('#example').dataTable( {
"bProcessing": true,
"sAjaxSource": "sources/abc.json"
});
});
tabular data is
Name Age City
sam 23 Mexico
Mike 29 Newyork
Sydney 24 London
How should I represent this data in json file????
An exemple of JSON source for the plugin dataTable: