E006Error
Unclosed object or array
An object or array was opened but never closed.
What it means
Every { must be matched by a } and every [ by a ]. The parser reached the end of the input with a container still open, usually because a closing bracket was dropped.
Example
Invalid
{ "user": { "name": "Ada" }Valid
{ "user": { "name": "Ada" } }How to fix it
Add the missing closing bracket to match every opening one.
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.