title: unable to get json data to jquery datatable
body: <p>I have some Json data which I got from sql server by querying the database. The data was serialized to json using java script serializer. But Im unable to bind the Json Data to jQuery datatables.i checked my json file it seems fine but i don't know where is it the problem.</p>
  
  <p>Here is my javascript code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function () {
      $('#example').DataTable({
          "ajax": "/data.json",
          "columns": [
              { "data": "id" },
              { "data": "CodeAgence" },
              { "data": "NomConseillerPrevu" },
              { "data": "PrenomConseillerPrevu" },
              { "data": "CodeConseillerPrevu" }
              
          ],
          "columnDefs": [{
              "targets": -1,
              "data": null,
              "defaultContent": "&lt;button&gt;Click!&lt;/button&gt;"
          }]
      });
  });</code></pre>
  </div>
  </div>
  </p>