why datatable saying my json is wrong
why datatable saying my json is wrong
vinod_wattamwar
Posts: 3Questions: 2Answers: 0
"draw": 1,"recordsTotal": -1,"recordsFiltered": -1,"data": [[[....]]]
This discussion has been closed.
Answers
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