{ "id": "93288", "key": "ALOY-76", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-19T11:52:06.000+0000", "created": "2012-06-14T16:37:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14036", "description": "2012 Sprint 14", "name": "2012 Sprint 14", "archived": true, "released": true, "releaseDate": "2012-07-19" } ], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:21:02.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "/usr/local/lib/node_modules/alloy/Alloy/uglify-js/lib/parse-js.js:271\r\n throw new JS_Parse_Error(message, line, col, pos);\r\n\r\nwhen parsing:\r\n{\r\n\".name\" : {\r\n\t\t\"width\": Ti.UI.FIT,\r\n\t\t\"height\": Ti.UI.FIT,\r\n\t\t\"textAlign\": Ti.UI.TEXT_ALIGNMENT_LEFT,\r\n\t\t\"color\": \"black\",\r\n\t\t\"test2\": {},\r\n\t\t\"left\": 20\r\n\t},\r\n\t\r\n\t \".title\": {\r\n\t \"width\": Ti.UI.FIT,\r\n\t \"test2\": {},\r\n \"test1\": \"text\",\r\n \"test3\": 20\r\n }\r\n}\r\n\r\nHowever it's okay with:\r\n\r\n{\r\n\t\".name\" : {\r\n\t\t\"width\": Ti.UI.FIT,\r\n\t\t\"height\": Ti.UI.FIT,\r\n\t\t\"textAlign\": Ti.UI.TEXT_ALIGNMENT_LEFT,\r\n\t\t\"color\": \"black\",\r\n\t\t\"left\": 20\r\n\t},\r\n\r\n\t\".done\" : {\r\n\t\t\"width\": Ti.UI.FIT,\r\n\t\t\"height\": Ti.UI.FIT,\r\n\t\t\"textAlign\": Ti.UI.TEXT_ALIGNMENT_RIGHT,\r\n\t\t\"color\": \"red\",\r\n\t\t\"right\": 20\r\n\t},\r\n\t\r\n\t \".title\": {\r\n\t \"width\": Ti.UI.FIT,\r\n\t \"test2\": {},\r\n \"test1\": \"text\",\r\n \"test3\": 20\r\n }\t\r\n}\r\n\r\nNotice the rule .title has a object value for test2\r\n\r\n\t", "attachment": [], "flagged": false, "summary": "Compiling of json style files break when a object value is used.", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }