예제 #1
0
 public static string SetJsonString(this DealMessage tmsg, IDictionary <string, object> jsonbag)
 {
     return(JsonParser.ToJson(jsonbag));
 }
예제 #2
0
 public static void GetJsonBag(this DealMessage tmsg, string JsonString, IDictionary <string, object> _bag)
 {
     _bag.AddRange(JsonParser.FromJson(JsonString));
 }
예제 #3
0
        public static string SetJsonString(this DealMessage tmsg)
        {
            IDictionary <string, object> toJson = tmsg.SetJsonBag();

            return(JsonParser.ToJson(toJson));
        }