示例#1
0
        public static string JsonArraySerialize(this MoveOrder order)
        {
            var arr = new[] { order.Path, order.DestPath };

            return(JsonConvert.SerializeObject(arr));
        }
示例#2
0
 public static string JsonSerialize(this MoveOrder order)
 {
     return(JsonConvert.SerializeObject(order));
 }