Open Karhenpl opened 5 years ago
in JSMN_STRICT mode, jsmn_parse function returns > 0 value but following strings should be invalid: { "a": } --> 2 { "a"} --> 2 {"a" "b"} --> 3 {"a" :::::: "b"} --> 3 {"a" : [1 "b"]} --> 5 {"a"""} --> 3 {"a":1""} --> 3 {"a":1"b":1} --> 3
Will fix as this library gets a bit of rework. Right now I'm busy with life matter. Sorry
{}{} is also valid --> pos=4 toknext=2 toksuper=-1 r=2
{}{}
in JSMN_STRICT mode, jsmn_parse function returns > 0 value but following strings should be invalid: { "a": } --> 2 { "a"} --> 2 {"a" "b"} --> 3 {"a" :::::: "b"} --> 3 {"a" : [1 "b"]} --> 5 {"a"""} --> 3 {"a":1""} --> 3 {"a":1"b":1} --> 3