{"action":"created","issue":{"url":"https://api.github.com/repos/foresterre/ContextProject/issues/44","labels_url":"https://api.github.com/repos/foresterre/ContextProject/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/foresterre/ContextProject/issues/44/comments","events_url":"https://api.github.com/repos/foresterre/ContextProject/issues/44/events","html_url":"https://github.com/foresterre/ContextProject/issues/44","id":83468516,"number":44,"title":"Local storage of collection","user":{"login":"foresterre","id":5955761,"avatar_url":"https://avatars.githubusercontent.com/u/5955761?v=3","gravatar_id":"","url":"https://api.github.com/users/foresterre","html_url":"https://github.com/foresterre","followers_url":"https://api.github.com/users/foresterre/followers","following_url":"https://api.github.com/users/foresterre/following{/other_user}","gists_url":"https://api.github.com/users/foresterre/gists{/gist_id}","starred_url":"https://api.github.com/users/foresterre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foresterre/subscriptions","organizations_url":"https://api.github.com/users/foresterre/orgs","repos_url":"https://api.github.com/users/foresterre/repos","events_url":"https://api.github.com/users/foresterre/events{/privacy}","received_events_url":"https://api.github.com/users/foresterre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/foresterre/ContextProject/labels/feature","name":"feature","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"foresterre","id":5955761,"avatar_url":"https://avatars.githubusercontent.com/u/5955761?v=3","gravatar_id":"","url":"https://api.github.com/users/foresterre","html_url":"https://github.com/foresterre","followers_url":"https://api.github.com/users/foresterre/followers","following_url":"https://api.github.com/users/foresterre/following{/other_user}","gists_url":"https://api.github.com/users/foresterre/gists{/gist_id}","starred_url":"https://api.github.com/users/foresterre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foresterre/subscriptions","organizations_url":"https://api.github.com/users/foresterre/orgs","repos_url":"https://api.github.com/users/foresterre/repos","events_url":"https://api.github.com/users/foresterre/events{/privacy}","received_events_url":"https://api.github.com/users/foresterre/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-01T12:31:07Z","updated_at":"2015-06-04T11:42:10Z","closed_at":null,"body":"When a player plays the game and receives rewards, he/she wants to keep this data available after exiting the application. This data, a game save should be stored on the local file system.\r\n\r\nrequirements\r\n* should be able to store the collectibles collected in a local file.\r\n* should be able to read data about collectibles collected from a local file.\r\n* should work on both the desktop and android\r\n* TBD should be able to encrypt and decrypt this game save data\r\n\r\nliterature\r\n* http://json.org/\r\n* https://github.com/libgdx/libgdx/wiki/File-handling\r\n* http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/utils/Json.html\r\n* https://github.com/libgdx/libgdx/wiki/Reading-%26-writing-json\r\n\r\nproblems\r\n* Libgdx's json is not so well documented\r\n* jackson is no longer actively developed\r\n\r\nsolutions\r\n* use java's serializable\r\n* possibly if JSON is really wanted, use the jackson or gson library."},"comment":{"url":"https://api.github.com/repos/foresterre/ContextProject/issues/comments/108855353","html_url":"https://github.com/foresterre/ContextProject/issues/44#issuecomment-108855353","issue_url":"https://api.github.com/repos/foresterre/ContextProject/issues/44","id":108855353,"user":{"login":"foresterre","id":5955761,"avatar_url":"https://avatars.githubusercontent.com/u/5955761?v=3","gravatar_id":"","url":"https://api.github.com/users/foresterre","html_url":"https://github.com/foresterre","followers_url":"https://api.github.com/users/foresterre/followers","following_url":"https://api.github.com/users/foresterre/following{/other_user}","gists_url":"https://api.github.com/users/foresterre/gists{/gist_id}","starred_url":"https://api.github.com/users/foresterre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foresterre/subscriptions","organizations_url":"https://api.github.com/users/foresterre/orgs","repos_url":"https://api.github.com/users/foresterre/repos","events_url":"https://api.github.com/users/foresterre/events{/privacy}","received_events_url":"https://api.github.com/users/foresterre/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T11:42:10Z","updated_at":"2015-06-04T11:42:10Z","body":"The current version uses (java's build in) serialization. See 301a36b0 and earlier commits.\r\n\r\n* ~~ should be able to store the collectibles collected to a local file.~~\r\n* ~~ should be able to read data about collectibles collected from a local file. ~~\r\n* ~~ should work on both the desktop and android ~~ (d18e9b5 fixed android)"}}