Invalid Json error on server side processing in 1.10.* version
Invalid Json error on server side processing in 1.10.* version
![kaNaresh](https://secure.gravatar.com/avatar/531553eb8dff00f362c3e1ff76a4c5e0/?default=https%3A%2F%2Fvanillicon.com%2F531553eb8dff00f362c3e1ff76a4c5e0_200.png&rating=g&size=120)
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