README simple doc fix #11

Closed
gogolok opened this Issue Jun 14, 2011 · 0 comments

Projects

None yet

2 participants

@gogolok
gogolok commented Jun 14, 2011
--- a/README.markdown
+++ b/README.markdown
@@ -124,7 +124,7 @@ Here is a code sample:
 
        NSDictionary *dictionary = [NSDictionary dictionaryWithObject:@"b" forKey:@"a"];
        NSError *error = NULL;
-       NSData *jsonData = [[CJSONSerializer serializer] serializeObject:dictionary error&error];
+       NSData *jsonData = [[CJSONSerializer serializer] serializeObject:dictionary error:&error];
 
 ## Invalid JSON
@schwa schwa added a commit that closed this issue Jul 27, 2011
@schwa schwa Fixes typo in doc. (Fixes #11) 85ca11d
@schwa schwa closed this in 85ca11d Jul 27, 2011
@qwzybug qwzybug pushed a commit to qwzybug/TouchJSON that referenced this issue Oct 28, 2011
@schwa schwa Merge branch 'develop' into feature/ARC
* develop:
  Logical & not &&. Dofus.
  Added back the autoreleases (cost of maintaining ARC & non-ARC branches)
  Turning off slash encoding by default. Can optionally turn it on with encoding options. Added unit test.
  The self.tests and self.theConvertersByName is always nil in original codes, because [nil setByAddingObject] returns nil, [nil mutableCopy] return nil. That cause the customized convert function will not be invoked.
  Fixes typo in doc. (Fixes #11)
  Fixed bad error generator.
  Added scanDataOfLength:intoPointer: less NSData = good.

Conflicts:
	Source/Experimental/CFilteringJSONSerializer.m
	Source/JSON/CJSONScanner.m
133e19e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment