Skip to content
Browse files

improved comment

  • Loading branch information...
1 parent 4f662fd commit 9af5584d11d8f2d39260c49b21651ec5a9a64988 @couchdeveloper committed
Showing with 24 additions and 10 deletions.
  1. +24 −10 Source/json/ObjC/JPSemanticActionsProtocol.h
View
34 Source/json/ObjC/JPSemanticActionsProtocol.h
@@ -58,22 +58,36 @@
JSON Strings (which inlcude keys) will be unescaped by the parser.
- A typical flow of messages could be as follows:
+ Below is a typical flow of the complete messages:
parserFoundArrayBegin
parserFoundObjectBegin
- parserFoundKeyValuePairBeginWithKey
+ parserFoundKeyValuePairBeginWithKey:length:encoding:index:
parserFoundJsonArrayBegin
- parserFoundJsonString
- parserFoundJsonString
- ..
+ parserFoundValueBeginAtIndex:
+ parserFoundJsonString:length:hasMore:encoding:
+ parserFoundJsonString:length:hasMore:encoding:
+ parserFoundJsonString:length:hasMore:encoding:
+ parserFoundValueEndAtIndex:
+
+ parserFoundValueBeginAtIndex:
+ parserFoundJsonString:length:hasMore:encoding:
+ parserFoundValueEndAtIndex:
+
+ ...
+
parserFoundJsonArrayEnd
parserFoundKeyValuePairEnd
- parserFoundKeyValuePairBeginWithKey
+ parserFoundKeyValuePairBeginWithKey:length:encoding:index:
parserFoundJsonArrayBegin
- parserFoundJsonString
- parserFoundJsonString
+ parserFoundValueBeginAtIndex:
+ parserFoundNumber:length:
+ parserFoundValueEndAtIndex:
+
+ parserFoundValueBeginAtIndex:
+ parserFoundNumber:length:
+ parserFoundValueEndAtIndex:
..
parserFoundJsonArrayEnd
parserFoundKeyValuePairEnd
@@ -341,8 +355,8 @@
Sent to the delegate when the parser found the end of a JSON Value
belonging to an JSON Array at the specified index.
- The associated value at this index has been notified by the parser by the corres-
- ponding event which has been sent immediately before this message.
+ The associated value at this index has been notified by the parser by the
+ corresponding event which has been sent immediately before this message.
@param index The index of at which the value is added to the JSON Array.
*/

0 comments on commit 9af5584

Please sign in to comment.
Something went wrong with that request. Please try again.