0

My manifest is shown down below. I'm not sure why Google Chrome always says that it is not a valid JSON and Dictionary Keys are not quoted. Any help is appreciated. Thanks.

{
    "name": "Auto Add to Cart",
    "version": "1.2",
    "manifest_version": 2,
}
4

1 回答 1

6

You can't have a trailing comma in JSON. Remove the comma after the 2.

Here's how an object is defined :

enter image description here

(source : json.org)

于 2013-08-11T19:42:34.707 回答