-
将Object转换成Json
Object obj = new Object();
string json = JsonConvert.SerializeObject(obj);
将Json转换成Object
-
string json = JsonConvert.DeserializeObject(Json);
Object obj = JsonConvert.DeserializeObject(Json);
需要将引入newtonsoft4.0 版本
Json转换net
猜你喜欢
转载自blog.csdn.net/milijiangjun/article/details/81046883
今日推荐
周排行