示例#1
0
        protected object Deserialize(MediaTypeContent content, Type type)
        {
            var text = Encoding.UTF8.GetString(content.ToArray());
            var json = JsonConvert.DeserializeObject(text, type);

            Logger.Debug("Response.Content.JSON: {@json}", json);

            return(json);
        }