E009Error

Missing comma between items

Expected ',' or a closing bracket between two values.

What it means

Object members and array elements must be separated by commas. When one value is directly followed by another with no comma between them, the parser cannot tell where the first ends.

Example

Invalid
{ "a": 1 "b": 2 }
Valid
{ "a": 1, "b": 2 }

How to fix it

Add a comma between the two values.

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.