I get the error below... Something is very wrong :( any ideas? (This is in a Windows Phone 8 app)
An exception of type 'Newtonsoft.Json.JsonReaderException' occurred in Newtonsoft.Json.DLL but was not handled in user code
And the code is
string responseBody = @" {""HighScoreId"":1,""Name"":""Debra Garcia"",""Score"":2.23},{""HighScoreId"":2,""Name"":""Thorsten Weinrich"",""Score"":2.65}";
GlobalHighScore s = JsonConvert.DeserializeObject<GlobalHighScore>(responseBody);
and the class is
public class GlobalHighScore
{
public int HighScoreId { get; set; }
public string Name { get; set; }
public double Score { get; set; }
}