public static ClientRequest GetRequestFromJSON(string JSON) { ClientRequest crRequest = JSONUtil.JSONDeserialize <ClientRequest>(JSON); return(crRequest); }
/// <summary> /// 从JSON加载 /// </summary> /// <param name="JSON"></param> /// <returns></returns> private static ServerResponse LoadFromJSON(string JSON) { return(JSONUtil.JSONDeserialize <ServerResponse>(JSON)); }