open-source-parsers / jsoncpp

A C++ library for interacting with JSON.
Other
8.06k stars 2.63k forks source link

Parsing of control characters #1546

Open j-moeller opened 2 months ago

j-moeller commented 2 months ago

Describe the bug jsoncpp parses control characters below 0x20 which is (technically) not in accordance with the JSON grammar.

To Reproduce We collected a minimum working sample here.

Expected behavior Upon receiving a control character the parsing should be aborted to conform to the JSON grammar.