1
我將String轉換爲json。但如何將其轉換爲字符串?無法轉換Json
String memb ="Hello 'test' From TestController! \r\n";
var serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
memb = serializer.Serialize(memb);//memb="\"\\\"Hello \\\\u0027test\\\\u0027 From Test Controller! \\\\r\\\\n\\\"\""
如何轉換(反序列化)爲字符串? P.S. IT項目在控制檯中,我有問題的參考圖書館using System.Web.Extensions
JSON在哪裏? –