Merge pull request #123 from drbitboy/btc/typos

btc/typos - JSON_ERROR_... should be JSMN_ERROR_... in README.md
master
Serge Zaitsev 7 years ago committed by GitHub
commit 6784c826d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -153,9 +153,9 @@ If something goes wrong, you will get an error. Error will be one of these:
* `JSMN_ERROR_NOMEM` - not enough tokens, JSON string is too large
* `JSMN_ERROR_PART` - JSON string is too short, expecting more JSON data
If you get `JSON_ERROR_NOMEM`, you can re-allocate more tokens and call
If you get `JSMN_ERROR_NOMEM`, you can re-allocate more tokens and call
`jsmn_parse` once more. If you read json data from the stream, you can
periodically call `jsmn_parse` and check if return value is `JSON_ERROR_PART`.
periodically call `jsmn_parse` and check if return value is `JSMN_ERROR_PART`.
You will get this error until you reach the end of JSON data.
Other info

Loading…
Cancel
Save