SQLite Forum

Unexpected behaviour of the json_valid function and .json mode in CLI
Login
I see your point.

However, if I read https://www.json.org/json-en.html correctly, 42 would be a valid JSON value, but not a valid JSON object.

And https://www.sqlite.org/json1.html#jvalid would lead one to expect json_valid to test the validity of a JSON object.