E005Error

Expected a value

Punctuation appeared where a value belongs.

What it means

After a colon or a comma the parser expects a value (string, number, object, array, or literal). Finding a closing brace, bracket, or another comma instead means a value was left out.

Example

Invalid
{ "name": }
Valid
{ "name": null }

How to fix it

Supply the missing value, or remove the dangling colon/comma.

Validate your JSON to see this and every other issue highlighted in one pass.


Diagnostics on this page come from @jsonlint/core, the open-source engine that powers the JSONLint validator. Install it with npm install @jsonlint/core.