i am new in iphone development , i have an json response like :-`
(
{
0 = 1;
1 = Pradeep;
2 = "<null>";
3 = "<null>";
"friendship_flag" = "<null>";
id = 1;
name = Pradeep;
sender = "<null>";
},
{
0 = 2;
1 = Pradeep;
2 = "<null>";
3 = "<null>";
"friendship_flag" = "<null>";
id = 2;
name = Pradeep;
sender = "<null>";
},
i want to display all names on table view . my code like as:-
NSDictionary *allDataDictionary=[NSJSONSerialization JSONObjectWithData:webData options:0 error:nil];
NSLog(@"Data from Web %@",allDataDictionary);
NSArray *feedforentry=[allDataDictionary objectForKey:@"1"];
[array addObject:name]; //array will be display on table view .
Thanks in Advance .