Manifest file is written in JSON (JavaScript Object Notation) format.
This format differs from more loose rules of writing object literals in JavaScript code. Among important differences:
Every key name and string literal must be in double quotes.
Correct: "key": "value"
Wrong: key: "value"
, 'key': 'value'
No comments are allowed by the format.
"key": "value" // This controls feature foo
Strict comma rules: items separated by commas, no dangling commas.
Correct:
{
"foo": "bar",
"baz": "qux"
}
Wrong (comma missing):
{
"foo": "bar"
"baz": "qux"
}
Wrong (dangling comma):
{
"foo": "bar",
"baz": "qux",
}