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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 23, 2021, 4:34 AM EDT
Ketan MokariyaRank #1,793 · 832 reputationPosted Oct 23, 2021, 4:01 AM EDT
Srinivasan RamamoorthiRank #877 · 2.5K reputationPosted Oct 23, 2021, 4:31 AM EDT
Giri Sain31 reputationPosted Oct 23, 2021, 6:32 AM EDT
string jsonString = (new System.Web.Script.Serialization.JavaScriptSerializer()).Serialize((object)result);