Fixed a typo (value -> number) (#186)

master
Alexey Radkov 5 years ago committed by GitHub
parent 85695f3d59
commit 7b6858a585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -158,7 +158,7 @@ the `js` string.
A non-negative return value of `jsmn_parse` is the number of tokens actually A non-negative return value of `jsmn_parse` is the number of tokens actually
used by the parser. used by the parser.
Passing NULL instead of the tokens array would not store parsing results, but Passing NULL instead of the tokens array would not store parsing results, but
instead the function will return the value of tokens needed to parse the given instead the function will return the number of tokens needed to parse the given
string. This can be useful if you don't know yet how many tokens to allocate. string. This can be useful if you don't know yet how many tokens to allocate.
If something goes wrong, you will get an error. Error will be one of these: If something goes wrong, you will get an error. Error will be one of these:

Loading…
Cancel
Save