Hai I am sending a JSON object from a servlet to JSP using AJAX. My JSON object contains a String value inside. and that string contains double quotes within that. My JSON does not parse it. I get error.
{"diagnosis" :[{"NAME":"new_di agnosis_1 \[1020\]:2000000006001" },{"NAME":"new_ diagnosis_2 \[1021\]:2000000006003" },{"NAME":"new_ "dise"sed \[1023\]:2000000009001" },{"NAME":"new_ d"ise"sef \[1024\]:2000000009003" }]}
note new_"dise"sed and new_d"ise"sef
I need a solution.
Thanks in Advance.
{"diagnosis" :[{"NAME":"new_di agnosis_1 \[1020\]:2000000006001" },{"NAME":"new_ diagnosis_2 \[1021\]:2000000006003" },{"NAME":"new_ "dise"sed \[1023\]:2000000009001" },{"NAME":"new_ d"ise"sef \[1024\]:2000000009003" }]}
note new_"dise"sed and new_d"ise"sef
I need a solution.
Thanks in Advance.
Comment