Q:

Read Object from JSON web page in Windows Phone 8.1

I want to read some List<> of Object from a JSON file, which is generated by a PHP file.
When I try to compile it, I have some problems, it seems that the Smartphone is waiting something. Also I'm not sure if the read is correct for Windows Phone. Thank you in advance for your help !
This is the JSON file example:
{"giocatori":[{"Giocatore":"124","Cognome":"DE SANCTIS","Ruolo":"P","Squadra":"ROM"},{"Giocatore":"140","Cognome":"MIRANTE","Ruolo":"P","Squadra":"PAR"},{"Giocatore":"156","Cognome":"SKORUPSKI","Ruolo":"P","Squadra":"ROM"}],"success":1}

These are the Objects:
public class Giocatori
{
    public string Giocatore { get; set; }
    public string Cognome { get; set; }
    public string Ruolo { get; set; }
    public string Squadra { get; set; }

    public override string ToString()
    {
        return Giocatore + " " + Cognome + " " + Ruolo + " " + Squadra;
    }
}

public class RootObject
{
    public List<Giocatori> giocatori { get; set; }
    public int success { get; set; }
}

And here are the methods:
 private async Task<RootObject> getPlayers()
    {
        Uri serviceUri = new Uri("myURL");
        HttpClient client = new HttpClient();
        string jsonString = await client.GetStringAsync(serviceUri);
        MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(jsonString)); 
        RootObject RootObject = new RootObject();
        DataContractJsonSerializer ser = new DataContractJsonSerializer(RootObject.GetType()); 
        RootObject = ser.ReadObject(ms) as RootObject;
        return RootObject;
    }

    private void loadPlayers()
    {
        RootObject players =  getPlayers().Result;
        setComboboxs(players.giocatori); // The method which I need to use the 
    }

A:

Download JSON.Net package via Nuget.
Right Click project > Manage Nuget > Json.net > Install

According to http://json2csharp.com/ your class should look like this.
public class Giocatori
    {
        public string Giocatore { get; set; }
        public string Cognome { get; set; }
        public string Ruolo { get; set; }
        public string Squadra { get; set; }
    }

    public class RootObject
    {
        public List<Giocatori> giocatori { get; set; }
        public int success { get; set; }
    }

RootObject can be renamed to whatever you like.    
When you receive your JSON do
JsonConvert.DeserializeObject<RootObject>("jsonstring");

