mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Merge pull request #16 from npi3pak/patch-1
README.md: fixed formatting
This commit is contained in:
commit
322e440e78
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user