You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when parsing json from the "wild-web" there might be small problems like for example an ';' appended after an otherwise correct json. Being able to create a parser that flips the internal strict mode to false would be a great help when parsing these kinds of json sources.
The
"static basic_json parse" function around line 6608 in json.hpp calls the internal parser with a "hardcoded" 'true' for the strict mode parameter.
If we could somehow make it possible to instantiate a json parser which uses false here, that would be really useful.
OK, that's good to know. So if in the future there will be no alternative to you first solution I can allways fallback to this one.
Again, thanks a lot for your great library :)
Currently, when parsing json from the "wild-web" there might be small problems like for example an ';' appended after an otherwise correct json. Being able to create a parser that flips the internal strict mode to false would be a great help when parsing these kinds of json sources.
The
"static basic_json parse" function around line 6608 in json.hpp calls the internal parser with a "hardcoded" 'true' for the strict mode parameter.
If we could somehow make it possible to instantiate a json parser which uses false here, that would be really useful.
The function looks like this:
It's the
parser(i, cb, allow_exceptions).parse(true, result);
I would like to be able to be:parser(i, cb, allow_exceptions).parse(false, result);
Regards Martin
The text was updated successfully, but these errors were encountered: