Open j-moeller opened 2 months ago
Describe the bug jsoncpp parses trailing commas and ignores trailing garbage which is (technically) not in accordance with the JSON grammar.
To Reproduce We created a minimum working sample here.
Expected behavior jsoncpp should abort parsing when encountering a trailing comma or when (trailing) input is left after the parsing attempt.
Describe the bug jsoncpp parses trailing commas and ignores trailing garbage which is (technically) not in accordance with the JSON grammar.
To Reproduce We created a minimum working sample here.
Expected behavior jsoncpp should abort parsing when encountering a trailing comma or when (trailing) input is left after the parsing attempt.