I Provided below as input json:
null
It passes in both strict & all mode. As, per strict mode code, it is allowed. But If i check http://jsonlint.com/, there is below error:
Parse error on line 1: null ^ Expecting '{', '['
Is fix needed ?
jsonlint is definitely wrong here. However, IIRC, the current version of jsoncpp might crash on null now, which somebody else considered a bug.
You can find the latest code at GitHub.
Log in to post a comment.
jsonlint is definitely wrong here. However, IIRC, the current version of jsoncpp might crash on
null
now, which somebody else considered a bug.You can find the latest code at GitHub.