Permalink
Browse files

fixed a comment and documentation

  • Loading branch information...
1 parent 9af5584 commit b22db0314d14fa175c2a4561da8301922a03cf9b @couchdeveloper committed Sep 17, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 Source/json/ObjC/JPSemanticActionsProtocol.h
@@ -65,13 +65,13 @@
parserFoundKeyValuePairBeginWithKey:length:encoding:index:
parserFoundJsonArrayBegin
parserFoundValueBeginAtIndex:
- parserFoundJsonString:length:hasMore:encoding:
- parserFoundJsonString:length:hasMore:encoding:
- parserFoundJsonString:length:hasMore:encoding:
+ parserFoundString:length:hasMore:encoding:
+ parserFoundString:length:hasMore:encoding:
+ parserFoundString:length:hasMore:encoding:
parserFoundValueEndAtIndex:
parserFoundValueBeginAtIndex:
- parserFoundJsonString:length:hasMore:encoding:
+ parserFoundString:length:hasMore:encoding:
parserFoundValueEndAtIndex:
...
@@ -159,10 +159,10 @@
The four methods
- - `-parserFoundJsonValueBeginAtIndex:`,
- - `-parserFoundJsonValueEndAtIndex:`,
- - `-parserFoundJsonValueBeginWithKey:length:encoding:index` and
- - `-parserFoundJsonValueEndWithKey:length:encoding:index`
+ - `-parserFoundValueBeginAtIndex:`,
+ - `-parserFoundValueEndAtIndex:`,
+ - `-parserFoundValueBeginWithKey:length:encoding:index` and
+ - `-parserFoundValueEndWithKey:length:encoding:index`
are helpful when implementing a streaming API. These additional messages
give fine grained control for all relevant parser events.

0 comments on commit b22db03

Please sign in to comment.