Esempio n. 1
0
        /// <summary>
        /// Deserialize the contents of the HttpResponse.Body into an object
        /// of type T using the configured Json serializer
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <returns></returns>
        public T ReadAsJson <T>()
        {
            var json = ReadAsText();

            return(_system.FromJson <T>(json));
        }