Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README simple doc fix #11

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

README simple doc fix #11

gogolok opened this issue Jun 14, 2011 · 0 comments

Comments

@gogolok
Copy link

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 closed this as completed in 85ca11d Jul 27, 2011
qwzybug pushed a commit to qwzybug/TouchJSON that referenced this issue Oct 28, 2011
* 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 TouchCode#11)
  Fixed bad error generator.
  Added scanDataOfLength:intoPointer: less NSData = good.

Conflicts:
	Source/Experimental/CFilteringJSONSerializer.m
	Source/JSON/CJSONScanner.m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants