Exemple #1
0
        private T ParseResponse <T>(HttpContent content)
        {
            byte[] responseString = content.GetBytes();
            string strContent     = Encoding.UTF8.GetString(responseString);

            return(JsonConvert.DeserializeObject <T>(strContent, _settings));
        }