When the following partial Json string is passed to the reader for parsing, this causes a crash. We are running on win32, compiling the library for mingw.
Here is a code snippet where we are using the reader:
Json::Reader reader;
Json::Value read_value;
bool success = reader.parse("0, \"test_string\", 2, [ 2006, 1, 1, 12, 28, 57 ] ] }\n", read_value);
Configuring the reader to use strict_mode 'Json::Reader reader(Json::Features::strictMode());' instead works fine.
Hi,
I tried to reproduce the problem, but for me it works fine.
could you provide more information?
- source version
- mingw version
- gcc compile flags and parameters
- maybe a test project
br g