{ "id": "145026", "key": "AC-1140", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-09-29T02:48:43.000+0000", "created": "2015-02-20T21:39:47.000+0000", "labels": [ "studio3" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:30.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "When Opened a big json file, Titanium hangs and take lot of time to work, because it was analysing it, somthing like syntax check?! while is this needed for a json file?\r\n\r\nI took a file to another editor, removed lot of lines, reformatted it, and now titanium is alerting me about errors?!", "attachment": [ { "id": "54221", "filename": "Sans titre.jpg", "author": { "name": "abdelouahab", "key": "abdelouahab", "displayName": "abdelouahab", "active": true, "timeZone": "Africa/Lagos" }, "created": "2015-02-20T21:39:47.000+0000", "size": 241145, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Hangs when json file is too big", "creator": { "name": "abdelouahab", "key": "abdelouahab", "displayName": "abdelouahab", "active": true, "timeZone": "Africa/Lagos" }, "subtasks": [], "reporter": { "name": "abdelouahab", "key": "abdelouahab", "displayName": "abdelouahab", "active": true, "timeZone": "Africa/Lagos" }, "environment": "Windows 7 64bits", "comment": { "comments": [ { "id": "344119", "author": { "name": "abdelouahab", "key": "abdelouahab", "displayName": "abdelouahab", "active": true, "timeZone": "Africa/Lagos" }, "body": "The issue was from the validator, making the validator as 0 (infinite) will make a huge time to scan the file!", "updateAuthor": { "name": "abdelouahab", "key": "abdelouahab", "displayName": "abdelouahab", "active": true, "timeZone": "Africa/Lagos" }, "created": "2015-02-21T15:29:43.000+0000", "updated": "2015-02-21T15:29:43.000+0000" }, { "id": "362282", "author": { "name": "pchowdhury", "key": "pchowdhury", "displayName": "Papia Chowdhury", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nWe tested your reported issue but could not reproduce it. Here is the details of our test case. Let us know if you continue to get the error.\r\n\r\n*Testing Environment:*\r\n\r\nAppcelerator Studio, build: 4.2.0.201508141038\r\nTitanium SDK: 4.1.0 GA\r\niOS simulator: iphone 5s(v8.1)\r\nOS X version: 10.9.5\r\n\r\n*Steps to test:*\r\n1. Create a classic project.\r\n2. Place a json file in the project directory and name it test.json\r\n3. Copy below test code and run the project\r\n\r\n*Test Case:*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : '#fff'\r\n});\r\nvar file = Ti.Filesystem.getFile('test.json');\r\nvar preParseData = (file.read().text);\r\nvar data = file.read();\r\nvar json = JSON.parse(data);\r\nvar response = JSON.parse(preParseData);\r\nTi.API.info(response[0].name);\r\nwin.open();\r\n{code}\r\n\r\nThanks.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-04T11:09:01.000+0000", "updated": "2015-09-29T02:48:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }