title: jQuery DataTable - Displaying data with custom JSON structure
body: <p>How to populate custom JSON data structure using jQuery Datatable. I found below solution(Datatable default - JSON structure) and it's working fine until I have 'Data" as main object/array, however, I want to utilize another JSON structure(My JSON structure). Is it possible or do I need to stick with Datatable default JSON structure? I am using DataTables 1.10.7. Thanks in advance for any help.</p>
  
  <p><strong>Datatable default - JSON Structure</strong></p>
  
  <pre><code>{
   "data": [
  {
    "name": "Tiger Nixon",
    "position": "System Architect",
    "salary": "$320,800",
    "start_date": "2011/04/25",
    "office": "Edinburgh",
    "extn": "5421"
  },
  {
    "name": "Garrett Winters",
    "position": "Accountant",
    "salary": "$170,750",
    "start_date": "2011/07/25",
    "office": "Tokyo",
    "extn": "8422"
  }
  ]
  }
  </code></pre>
  
  <p>My JSON structure</p>
  
  <pre><code>[
  {
    "Date": "12/04/14",
    "MeterID": "56",
    "BlockID": "12",
    "Type": "sure",
    "Subtype": "truction",
    "Notes": ""
  },
  {
    "Date": "12/04/14",
    "MeterID": "3456",
    "BlockID": "123456",
    "Type": "alism",
    "Subtype": "working",
    "Notes": "Lorem"
  }
  ]
  </code></pre>
  
  <p>jQuery Datatable code snippet</p>
  
  <pre><code>$('#incident').DataTable({
      "ajax": "../../data/object.json",
      "columns": [
          { "data": "name" },
          { "data": "position" },
          { "data": "salary" },
          { "data": "start_date" },
          { "data": "office" },
          { "data": "extn" }
      ],
      "iDisplayLength": 10
  })
  </code></pre>