Пример #1
0
        public static TransferParams DeserialCmdTextToParam(string cmdTxt)
        {
            TransferParams param = (TransferParams)JsonConvert.DeserializeObject(cmdTxt, typeof(TransferParams));

            return(param);
        }
Пример #2
0
 public static string SerialCmdTextParamTo(TransferParams param)
 {
     return(JsonConvert.SerializeObject(param));
 }