jsmn_parse doesn't return JSMN_ERROR_PART on incomplete json data

Issue #27 invalid
Roman M.
created an issue

I'm not sure actually is this a bug or a feature :)

JSMN_STRICT is defined. Passing the following string to jsmn_parser

"{ \"name\" : \"Jack\", \"age\" : 27 } { \"name\" : \"Anna\", "

returns the number of tokens (8), but not JSMN_ERROR_PART as expected.

Comments (1)

  1. Log in to comment