469,575 Members | 1,513 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

JSON object escape sequence (double quotes) problem

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_diagnosis_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.
Mar 31 '11 #1
1 3466
8,652 Expert Mod 8TB
that’s got something to do with the code, that creates that JSON.

I need vacation.
Mar 31 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by sinister | last post: by
7 posts views Thread by Leif B. Kristensen | last post: by
3 posts views Thread by Ice Man | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.