Skip to content

Commit 1aa2e8f

Browse files
authored
Update README.md (#203)
Explanation of what s is in the example code
1 parent b85f161 commit 1aa2e8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jsmn_parser p;
8989
jsmntok_t t[128]; /* We expect no more than 128 JSON tokens */
9090
9191
jsmn_init(&p);
92-
r = jsmn_parse(&p, s, strlen(s), t, 128);
92+
r = jsmn_parse(&p, s, strlen(s), t, 128); // "s" is the char array holding the json content
9393
```
9494

9595
Since jsmn is a single-header, header-only library, for more complex use cases

0 commit comments

Comments
 (0)