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 :::::
{
"function":"addwhy",
"lastname":"\"", // this line
}
My agent did also try to convert it to UTF8 format but,my code generated error when it goes for parsor.