JSON - How to escape double quotes in json C#
Response.ContentType = "text/plain";
System.IO.Stream inptStrm = Request.InputStream;
byte[] bytes = new byte[inptStrm.Length];
int i = inptStrm.Read(bytes, 0, Convert.ToInt32(inptStrm.Length));
string Input = Encoding.UTF8.GetString(bytes);
JsonTextParser parsor = new JsonTextParser();
JsonObject jsonObj = parsor.Parse(Input);
My input string is :::::
"shopname":"\""
No comments:
Post a Comment