Reputation: 1
I've just developed an app for Firefox OS.But when I opened the simulator and tried to add the app into it; it shows some error code like the following:
The webapp manifest isn't a valid JSON file: SyntaxError: JSON.parse: bad control character in string literal at line 2 column 24 of the JSON data at: file:///directory.../manifest.webapp
What is the problem?
Upvotes: 0
Views: 298
Reputation: 27323
When having problems with the format of your manifest file, throw it through JSONLint. When you paste your manifest in there it will highlight the following line:
"url": "abcd.com";
With error message:
Parse error on line 12:
... "url": "abcd.com"; }, "defaul
-----------------------^
Expecting '}', ':', ',', ']'
So there we have it. Need to be replaced by a ,
.
Upvotes: 0