public static class JsonHelper { public static String ToJson(object obj) { return JsonConvert.SerializeObject(obj); } public static T ToObject<T>(string json) { return JsonConvert.DeserializeObject<T>(json); } }
标签:ring pos object serialize class sha obj serial div
public static class JsonHelper { public static String ToJson(object obj) { return JsonConvert.SerializeObject(obj); } public static T ToObject<T>(string json) { return JsonConvert.DeserializeObject<T>(json); } }
标签:ring pos object serialize class sha obj serial div
原文地址:https://www.cnblogs.com/XuPengLB/p/8375861.html