VB.NET
Dim
jsonTwitter = New System.Net.WebClient().DownloadString("http://twitter.com/statuses/public_timeline.json")
Dim
jsonTStatus = Codeplex.Data.DynamicJson.Parse(jsonTwitter)
For Each
twitterItem As Object In jsonTStatus
Console.WriteLine(twitterItem.user.screen_name)
Console.WriteLine(twitterItem.text)
Next
C#
var
jsonTwitter = new System.Net.WebClient().DownloadString(@"http://twitter.com/statuses/public_timeline.json");
var
jsonTStatus = Codeplex.Data.DynamicJson.Parse(jsonTwitter);
foreach (var
twitterItem in jsonTStatus)
{
Console.WriteLine(twitterItem.user.screen_name);
Console.WriteLine(twitterItem.text);
}