View Full Version : JSON issue

27 Jan 2014, 9:42 PM
Hi All,
We have an requirement to pass special chars like double quotes, space in JSON to a rest service.
The JSON is getting passed like below
“version”:””” The value will be directly mapped to Model class rest service.
The above becomes invalid JSON because of presence of double quotes.

Can someone give us some insights on fixing this issue?

27 Jan 2014, 11:20 PM
Hi Sanjay,

Try escape character for special characters,


Md Naveed

28 Jan 2014, 2:26 AM
The problem is, if I give escape character, its getting mapped to model (in rest service) along with escape characters..