Hi,
I've got here a sample JSON response:
{
1 = {
"name" = John Depp;
"category" = Animals;
"descripton" = "Some texts1";
"id" = 1;
};
2 = {
"name" = Shi;
"category" = Animals;
"description" = "some texts2";
"id" = 2;
};
3 = {
"name" = Sha;
"category" = Animals;
"description" = "some text3";
"id" = 3;
};
}
How I could convert this from NSDictionary to NSArray so I can populate the data objects into the table view?
Need advise. Thanks
I've got here a sample JSON response:
{
1 = {
"name" = John Depp;
"category" = Animals;
"descripton" = "Some texts1";
"id" = 1;
};
2 = {
"name" = Shi;
"category" = Animals;
"description" = "some texts2";
"id" = 2;
};
3 = {
"name" = Sha;
"category" = Animals;
"description" = "some text3";
"id" = 3;
};
}
How I could convert this from NSDictionary to NSArray so I can populate the data objects into the table view?
Need advise. Thanks