Try the following code:
NSError *error = nil;
id JSONResponse = [NSJSONSerialization JSONObjectWithData:self.responseData
options:0
error:&error];
if (error) {
NSLog(@"JSON Error: %@", error);
return;
}
// Should be an NSDictionary or NSArray
NSLog(@"JSON response: %@", [JSONResponse description]);
NSArray *books = [JSONResponse valueForKeyPath:@"bible.book"];
for (NSDictionary *book in books) {
NSLog(@"%@", book);
NSString *bookName = [book valueForKey:@"bookName"];
NSArray *chapters = [book valueForKey:@"chapter"];
// loop through the chapters
...
NSArray *verses = [book valueForKey:@"verse"];
// loop through the verses
...
}