Generating JSON request manually, returned HTML causing issues.
- by mrblah
Hi,
I am generating my JSON manually, and I even escaped for quotes with a preceding backslash. It is causing me problems.
My HTML returned looks something like:
<div class="blah"><div class="a2">This is just a test! I hope this work's man!</div></div>
string json = "MY HTML HERE";
json = json.Replace(@"""", @"\""");
Is there more to replace than just the double quotes?