Skip to content

Commit 89e140e

Browse files
committed
Update README.md
1 parent d6342f6 commit 89e140e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Features
88

99
SBJson's number one feature is chunk-based parsing. An example best sums it up:
1010

11-
SBJsonChunkParser *parser = [[SBJsonChunkParser alloc] initWithBlock:^(id v) {
11+
SBJsonChunkParser *parser = [[SBJsonChunkParser alloc] initWithBlock:^(id v, BOOL *stop) {
1212
NSLog(@"Found: %@", @([v isKindOfClass:[NSArray class]]));
1313
} errorHandler: ^(NSError* err) {
1414
NSLog(@"OOPS: %@", err);
@@ -30,7 +30,7 @@ Sometimes you just get a single mammoth array containing lots of smaller
3030
documents. In that case you can get the same effect by setting
3131
supportPartialDocuments to YES:
3232

33-
SBJsonChunkParser *parser = [[SBJsonChunkParser alloc] initWithBlock:^(id v) {
33+
SBJsonChunkParser *parser = [[SBJsonChunkParser alloc] initWithBlock:^(id v, BOOL *stop) {
3434
NSLog(@"Found: %@", @([v isKindOfClass:[NSArray class]]));
3535
} errorHandler: ^(NSError* err) {
3636
NSLog(@"OOPS: %@", err);

0 commit comments

Comments
 (0)