Quote:
Originally Posted by jimmy
'JsonParser' undeclared error .....i think i have to declare the jsonParser..help me with this ...
|
I still get the same error.I attached the Class file from the Json Framework
SBJsonParser *jsonParser =[[SBJsonParser alloc]init];
NSString *rawJSON = [[NSString alloc] initWithContentsofURL:[NSURL URLWithString:@"http://xxxx.hdsfphp.com/edm.php"]];
NSArray *data = (NSArray *) [jsonParser objectWithString:rawJSON error:NULL];