Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi the parsing of a json object is failing due to a space character i already used in my code .Replace("\n","").Replace("\r","").Replace("\\","").Replace("\"","") to remove any special character in c# that might coz this but still it's failing can anyone help me? the data loaded was saved using code
Nelek 14-Apr-12 13:11pm    
If you use "improve question" to add the relevant piece of code where you are having problems, then we will be able to help you better. We can not get much info just from "but still it's failing"

1 solution

Spaces have no impact on JSON parsing (they are ignored as white space).

You should not remove " \ \r \n characters and strings as they are needed.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900