Skip to content
This repository
Browse code

Cleaning docs

  • Loading branch information...
commit 6f1394baf0eb474d435801b2dcc1ce7597692c48 1 parent 98aeeec
Gabriel Handford authored

Showing 1 changed file with 10 additions and 11 deletions. Show diff stats Hide diff stats

  1. +10 11 README.md
21 README.md
Source Rendered
@@ -96,9 +96,9 @@ To use the streaming (or SAX style) parser, use `YAJLParser`. For higher level (
96 96
97 97 There are options when parsing that can be specified with `YAJLParser#initWithParserOptions:`.
98 98
99   -- YAJLParserOptionsAllowComments: Allows comments in JSON
100   -- YAJLParserOptionsCheckUTF8: Will verify UTF-8
101   -- YAJLParserOptionsStrictPrecision: Will force strict precision and return integer overflow error, if number is greater than long long.
  99 +- `YAJLParserOptionsAllowComments`: Allows comments in JSON
  100 +- `YAJLParserOptionsCheckUTF8`: Will verify UTF-8
  101 +- `YAJLParserOptionsStrictPrecision`: Will force strict precision and return integer overflow error, if number is greater than long long.
102 102
103 103 ### Streaming Example (Parser)
104 104
@@ -138,14 +138,13 @@ To use the document style, use `YAJLDocument`. Usage should be very similar to `
138 138 // You can access root element at document.root
139 139 NSLog(@"Root: %@", document.root);
140 140 [document release];
141   -
142   - // Or via the YAJLDocumentDelegate delegate methods
143   -
144   - - (void)document:(YAJLDocument *)document didAddDictionary:(NSDictionary *)dict { }
145   - - (void)document:(YAJLDocument *)document didAddArray:(NSArray *)array { }
146   - - (void)document:(YAJLDocument *)document didAddObject:(id)object toArray:(NSArray *)array { }
147   - - (void)document:(YAJLDocument *)document didSetObject:(id)object forKey:(id)key inDictionary:(NSDictionary *)dict { }
148   -
  141 +
  142 + // Or via the YAJLDocumentDelegate delegate methods
  143 +
  144 + - (void)document:(YAJLDocument *)document didAddDictionary:(NSDictionary *)dict { }
  145 + - (void)document:(YAJLDocument *)document didAddArray:(NSArray *)array { }
  146 + - (void)document:(YAJLDocument *)document didAddObject:(id)object toArray:(NSArray *)array { }
  147 + - (void)document:(YAJLDocument *)document didSetObject:(id)object forKey:(id)key inDictionary:(NSDictionary *)dict { }
149 148
150 149 ## Customized Encoding
151 150

0 comments on commit 6f1394b

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