Introduce CharReaderBuilder::ecma404Mode by axic · Pull Request #1333 · open-source-parsers/jsoncpp (original) (raw)
Instead of a finished PR, this is an initial one to judge appetite for it.
I found out through testing that our assumption what strict means doesn't exactly match. Strictness according to ECMA-404 is a bit closer what we expected. For reference: ECMA-404 and ECMA-262. Additionally RFC4627 implies no BOM is needed.
If this feature is welcome, I can look into adding tests for it.