Update README.md

master
Serge Zaitsev 9 years ago
parent 09843be912
commit 572ace5a43

@ -135,7 +135,7 @@ All job is done by `jsmn_parser` object. You can initialize a new parser using:
// js - pointer to JSON string
// tokens - an array of tokens available
// 10 - number of tokens available
jsmn_parse(&parser, js, tokens, 10);
jsmn_parse(&parser, js, strlen(js), tokens, 10);
This will create a parser, and then it tries to parse up to 10 JSON tokens from
the `js` string.

Loading…
Cancel
Save