Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Should include simple examples in documentation #76

Open
ghost opened this Issue · 0 comments

0 participants

@ghost

This is an AWESOME library.

It would be MUCH easier to consume if there was a basic "hello world" example near the top of the documentation.

My favorite example of example-based documentation is the Zombie.js project: http://zombie.labnotes.org/

Something like:

const char *data = "{ \"o\": 1, \"n\": 2 }";
JSONDecoder *decoder = [JSONDecoder decoder];
id obj = [decoder objectWithUTF8String: data length: strlen(data)];
NSString *output = [obj JSONString];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.