reading HttpwebResponse json response, C#
First you need an object public class MyObject { public string Id {get;set;} public string Text {get;set;} … } Then in here using (var twitpicResponse = (HttpWebResponse)request.GetResponse()) { using (var reader = new StreamReader(twitpicResponse.GetResponseStream())) { JavaScriptSerializer js = new JavaScriptSerializer(); var objText = reader.ReadToEnd(); MyObject myojb = (MyObject)js.Deserialize(objText,typeof(MyObject)); } } I haven’t tested with the … Read more