public static string ToJson(string method, string[] param)
        {
            var inst = new JRequest {
                Method = method, Param = param
            };

            return(JSON.ToJson(inst));
        }
 public static JRequest Parse(string jsonString)
 {
     try
     {
         var inst = new JRequest();
         inst = JSON.ToObject <JRequest>(jsonString);
         return(inst);
     }
     catch (Exception ex)
     {
         return(null);
     }
 }