From 7b6858a5855299d173c5ab2b46e611bf9961cbef Mon Sep 17 00:00:00 2001 From: Alexey Radkov Date: Wed, 19 Feb 2020 17:32:48 +0300 Subject: [PATCH] Fixed a typo (value -> number) (#186) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f6ed27..f8249f3 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ the `js` string. A non-negative return value of `jsmn_parse` is the number of tokens actually used by the parser. 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. If something goes wrong, you will get an error. Error will be one of these: