Пример #1
0
        public T GetReqObj <T>(string url)
            where T : class, new()
        {
            T obj = new T();

            obj = Utils.JsonToObject(Utils.GetUrlHtml(url), obj) as T;

            return(obj);
        }