Closed DemiMarie closed 5 years ago
While the strict parser still has room for improvement, I believe it's possible to achieve the same thing without additional state. Will close this PR for now, especially considering that lib no longer has the .c file
This PR adds full validation of JSON in JSMN_STRICT mode. This is done by keeping additional state to indicate what the parser is currently expecting.
As a side effect, the ABI with JSMN_STRICT is no longer the same as that when JSMN_STRICT is not defined.