EvilZone
Programming and Scripting => .NET Framework => Topic started by: xor on May 19, 2015, 02:14:40 AM
-
public static dynamic GetJson(string url)
{
dynamic s;
using (var client = new WebClient())
{
var json = client.DownloadString(url);
s = JsonConvert.DeserializeObject<ExpandoObject>(json);
}
return s;
}
-
Linq is thoroughly confused by embedding this into statements. It's rather humorous. Excellent submission, though. Thanks much. It's sad to see your nick with so few cookies so have a couple extra. ;-P