{ "id": "149617", "key": "ALOY-1293", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-07-10T14:49:48.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "batman", "key": "batman", "displayName": "Bruce Wayne", "active": true, "timeZone": "America/New_York" }, "updated": "2015-07-10T14:52:18.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13605", "name": "Models" } ], "description": "Much like ALOY-1292, as another alternative to SQLite and Properties it would be great to have a JSON sync adapter to read and (if the source allows) write from a JSON file that would need to be as:\r\n\r\n{code:javascript}\r\n[\r\n {\r\n // record\r\n },\r\n {\r\n // record\r\n }\r\n // ...\r\n]\r\n{code}\r\n\r\nThe use case would be smaller sets of data that you don't want to first read into an SQLite DB or Properties and then need to do migrations when you have an app update. So most of the times this would just be a JSON files in the resources directory that wouldn't change.", "attachment": [], "flagged": false, "summary": "Add JSON sync adapter", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "comment": { "comments": [ { "id": "357464", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "We could use the one I included in my one-day tutorial:\r\nhttps://github.com/FokkeZB/Tutorial/edit/master/app/lib/alloy/sync/json.js", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-10T14:51:23.000+0000", "updated": "2015-07-10T14:51:23.000+0000" }, { "id": "357465", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "PR on master with read-only version:\r\nhttps://github.com/appcelerator/alloy/pull/709", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-10T14:52:18.000+0000", "updated": "2015-07-10T14:52:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }