Invalid Json error on server side processing in 1.10.* version
Invalid Json error on server side processing in 1.10.* version
kaNaresh
Posts: 1Questions: 1Answers: 0
I am getting Invalid Json error while using server side processing. below is my Ajax call respons string then i converted this string to Json using jQuery.parseJSON( data ) even then i got the Invalid Json error.
"{"draw":"1",
"recordsFiltered":30,
"recordsTotal":30,
"data":[
{
"RollNo":36,
"ClientNo":2
},
{
"RollNo":35,
"ClientNo":2
},
{
"RollNo":34,
"ClientNo":2
}
]
}"
Appriciate the solution to fix this issue
Thanks.
This discussion has been closed.
Answers
The outside double quotes are not valid. You can test your JSON string here:
https://jsonlint.com/
Kevin