why datatable saying my json is wrong

why datatable saying my json is wrong

vinod_wattamwarvinod_wattamwar Posts: 3Questions: 2Answers: 0

"draw": 1,"recordsTotal": -1,"recordsFiltered": -1,"data": [[[....]]]

Answers

  • allanallan Posts: 61,821Questions: 1Answers: 10,127 Site admin

    I assume you are getting the "Invalid JSON" error? If so, that's because jQuery has detected your JSON as invalid, as the tech note the error links to states. It also suggests how to debug the issue.

    In the above case there are not opening and closing braces ({}). Use JSONLint to validate your JSON.

    Allan

This discussion has been closed.