By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

JSON object escape sequence (double quotes) problem

P: 1
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
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
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.