Community
Participate
Working Groups
Build Identifier: WTP 3.2 I should be able to use .js file to define JSON data right? Basically renaming a .json file to .js, and everything should be exactly the same. But I get parser errors in .js files. Reproducible: Always
Bug description needs more information/sample code.
To reproduce, paste the following to a js file: /** * this is my model object */ { "property1": { "subprop1": "value1" } } You get a red squiggly in the opening brace saying "Syntax error on token {, ...".
This is not valid JavaScript. The following statement throws an error at runtime. No plan to support.