I am working on iphone app. Here I am reading an JSON array I have get its values into array the values I get in the following format :
Array : {
global = {
players = {
1 = "John Doe, A school";
10 = "Jonathan Doe, Another school";
2 = "Joe Doe, Another school";
3 = "Jane Doe, A school";
4 = "Jay Doe, Another school";
5 = "Jimmy Doe, A school";
6 = "Jeremy Doe, Another school";
7 = "Johnny Doe, A school";
8 = "Jeremiah Doe, Another school";
9 = "Jennifer Doe, A school";
};
schools = {
1 = "A school";
2 = "Another school";
3 = "The school";
4 = "The other school";
5 = "That school";
};
text = "A dynamic text that needs to be displayed to the player.";
};
Now my problem is that How can I read each part of global? after reading that How can I read schools ? etc...