{"action":"created","issue":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/198","repository_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK","labels_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/198/comments","events_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/198/events","html_url":"https://github.com/OneSignal/OneSignal-Android-SDK/issues/198","id":218950426,"number":198,"title":"De-serializing notifications","user":{"login":"2x2xplz","id":16587079,"avatar_url":"https://avatars3.githubusercontent.com/u/16587079?v=3","gravatar_id":"","url":"https://api.github.com/users/2x2xplz","html_url":"https://github.com/2x2xplz","followers_url":"https://api.github.com/users/2x2xplz/followers","following_url":"https://api.github.com/users/2x2xplz/following{/other_user}","gists_url":"https://api.github.com/users/2x2xplz/gists{/gist_id}","starred_url":"https://api.github.com/users/2x2xplz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2x2xplz/subscriptions","organizations_url":"https://api.github.com/users/2x2xplz/orgs","repos_url":"https://api.github.com/users/2x2xplz/repos","events_url":"https://api.github.com/users/2x2xplz/events{/privacy}","received_events_url":"https://api.github.com/users/2x2xplz/received_events","type":"User","site_admin":false},"labels":[{"id":530375387,"url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/labels/improvement","name":"improvement","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-03T14:24:42Z","updated_at":"2017-04-26T22:58:37Z","closed_at":"2017-04-26T22:58:37Z","body":"It's great to be able to easily convert an OSNotification or OSNotificationPayload to a JSONObject or JSON string via toJSONObject() (formerly the \"stringify\" methods). However, without the ability to deserialize the JSON back into the original objects, most of the processing is based on the raw JSON rather than the objects -- i.e. after passing an OSNotification from an OpenedHandler to an Intent, or Activity to a DialogFragment.\r\n\r\nIdeally the OSNotification & OSNotificationPayload objects should have a constructor which accepts a JSONObject.\r\n"},"comment":{"url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/comments/297564909","html_url":"https://github.com/OneSignal/OneSignal-Android-SDK/issues/198#issuecomment-297564909","issue_url":"https://api.github.com/repos/OneSignal/OneSignal-Android-SDK/issues/198","id":297564909,"user":{"login":"jkasten2","id":645861,"avatar_url":"https://avatars1.githubusercontent.com/u/645861?v=3","gravatar_id":"","url":"https://api.github.com/users/jkasten2","html_url":"https://github.com/jkasten2","followers_url":"https://api.github.com/users/jkasten2/followers","following_url":"https://api.github.com/users/jkasten2/following{/other_user}","gists_url":"https://api.github.com/users/jkasten2/gists{/gist_id}","starred_url":"https://api.github.com/users/jkasten2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkasten2/subscriptions","organizations_url":"https://api.github.com/users/jkasten2/orgs","repos_url":"https://api.github.com/users/jkasten2/repos","events_url":"https://api.github.com/users/jkasten2/events{/privacy}","received_events_url":"https://api.github.com/users/jkasten2/received_events","type":"User","site_admin":false},"created_at":"2017-04-26T22:58:37Z","updated_at":"2017-04-26T22:58:37Z","body":"@2x2xplz Thanks for the suggestion. Just added this in commit 307b8c01a22cb7973194f91c8b107e32e19dcc54"}}
{"actor":{"display_login":"jkasten2"}}