Merge pull request #16 from npi3pak/patch-1

README.md: fixed formatting
This commit is contained in:
Kevin Branigan 2015-10-01 11:38:53 -04:00
commit 322e440e78

View File

@ -63,7 +63,7 @@ Assume that you got this from a file, a webserver, or magic JSON elves, whatever
you have a char * to it. Everything is a cJSON struct.
Get it parsed:
cJSON * root = cJSON_Parse(my_json_string);
cJSON * root = cJSON_Parse(my_json_string);
This is an object. We're in C. We don't have objects. But we do have structs.
What's the framerate?
@ -248,4 +248,4 @@ which are more complex than I'd care to try and stash into a const char array[].
Enjoy cJSON!
-----------------------
- Dave Gamble, Aug 2009
- Dave Gamble, Aug 2009