JSON syntax error -



JSON syntax error -

{ "manifest_version" : 2, "name": "kittenbook", "description" : "replace photos on facebook kittens", "version": "0.0.1" "content_scripts": [ { "matches": ["*://www.facebook.com/*"], "js": [kittenbook.js"] } }

can explain me wrong this?

failed load extension from: ~\kittenbook.html manifest not valid json. line: 6, column: 3, syntax error.

you have 3 errors here.

at end of "version":"0.0.1" << missing , at end of "js":[kittenbook.js"] << missing " , start of string also missing closing [] on "content_scripts" :[

this right json syntaxis.

{ "manifest_version": 2, "name": "kittenbook", "description": "replace photos on facebook kittens", "version": "0.0.1", "content_scripts": [ { "matches": [ "://www.facebook.com/" ], "js": [ "kittenbook.js" ] } ] }

for future testing utilize jsonlint

syntax-error

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -