public static string JsonArraySerialize(this MoveOrder order) { var arr = new[] { order.Path, order.DestPath }; return(JsonConvert.SerializeObject(arr)); }
public static string JsonSerialize(this MoveOrder order) { return(JsonConvert.SerializeObject(order)); }