| Summary: | parser error in js files containing only JSON contents | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Jim Zhang <jzhang> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cmjaun |
| Version: | unspecified | ||
| Target Milestone: | 3.2.4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Jim Zhang
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. |