{
"players": [
{
"wins": 8,
"losses": 1,
"score": 264.5,
"pro": false,
"name": "albert"
},
{
"wins": 7,
"losses": 1,
"score": 214.5,
"pro": false,
"name": "mike"
}
I want to parse it and I have tried as below:
Dictionary<string,object> data=MiniJSON.Json.Deserialize(json) as Dictionary<string,object>;
List<object> list=(List<object>)(data["Person"]);
//data["players"] as List<object>
foreach(var item in data)
{
// data as Dictionary<string,object>
Dictionary<string,object> dict=(Dictionary<string,object>)(data);
}
I Tried But I don't know whether It is coorect or not and I Have not able to proceed further please spare a minute to help me