c#json操作
2021-04-09 03:24
标签:pts roc ext c# jsp send bsp nod row 引用中 增加 system.web.Extension; 和system.web.services ; json 转对象 private T scriptDeserialize 对象转json private string getJsonStr(JsonSendPlayback jsplaybcak) c#json操作 标签:pts roc ext c# jsp send bsp nod row 原文地址:https://www.cnblogs.com/ssjsk/p/9073102.html
{
JavaScriptSerializer js = new JavaScriptSerializer();
return js.Deserialize
}
{
JavaScriptSerializer js = new JavaScriptSerializer();
Dictionary
drow.Add("videoId", jsplaybcak.VideoId);
drow.Add("mobId", jsplaybcak.MobId);
drow.Add("nodeId", jsplaybcak.NodeId);
drow.Add("highPriority", jsplaybcak.HighPriority.ToString());
drow.Add("overwrite", jsplaybcak.Overwrite.ToString());
drow.Add("profile", jsplaybcak.Profile);
drow.Add("ProcessName", jsplaybcak.ProcessName);
drow.Add("device", jsplaybcak.Device);
return js.Serialize(drow);
}