string resp = cl.UploadString(strURL, post_data);
var decoder = new System.Web.Script.Serialization.JavaScriptSerializer();
ret = decoder.Deserialize
i want to convert ret in json string.
string resp = cl.UploadString(strURL, post_data);
var decoder = new System.Web.Script.Serialization.JavaScriptSerializer();
ret = decoder.Deserialize
i want to convert ret in json string.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Srinivasan RamamoorthiPosted Oct 23, 2021, 8:34 AM
Giri SainPosted Oct 23, 2021, 10:32 AM
string jsonString = (new System.Web.Script.Serialization.JavaScriptSerializer()).Serialize((object)result);
Srinivasan RamamoorthiPosted Oct 23, 2021, 8:31 AM
Ketan MokariyaPosted Oct 23, 2021, 8:01 AM