JSON validation escapes with JSMN_STRICT

Issue #52 new
Matthew Bossard
created an issue

When using JSMN_STRICT, some cases of invalid JSON are not caught. The following JSON's are parsed as valid.

{"a"}

{"a":1,"b"}

{"a","b":1}

{"a":1,}

{"a":"b":"c"}

{,} (any number of ",")

There may be more examples.

Comments (2)

  1. Log in to comment