From f276e23a74f6a2f4342cf2094d99d869408512e9 Mon Sep 17 00:00:00 2001 From: Brian Carcich Date: Thu, 25 Jan 2018 15:38:16 -0500 Subject: [PATCH] btc/typos - JSON_ERROR_... should be JSMN_ERROR_... in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e58fb28..45436b3 100644 --- a/README.md +++ b/README.md @@ -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