I\'m having trouble understanding how to parse JSON string into c# objects with Visual .NET. The task is very easy, but I\'m still lost... I get this string:
If you're using .NET 4 - use the dynamic datatype.
http://msdn.microsoft.com/en-us/library/dd264736.aspx
string json = "{ single_token:'842269070', username: 'example123', version:1.1}";
JavaScriptSerializer jss = new JavaScriptSerializer();
dynamic obj = jss.Deserialize(json);
Response.Write(obj["single_token"]);
Response.Write(obj["username"]);
Response.Write(obj["version"]);