示例#1
0
        public static CommObj FromJson(string json1)
        {
            CommObj obj = JsonConvert.DeserializeObject <CommObj>(json1);

            return(obj);
        }
示例#2
0
        public static string ToJson(CommObj obj)
        {
            string json1 = JsonConvert.SerializeObject(obj);

            return(json1);
        }