{"action":"created","issue":{"url":"https://api.github.com/repos/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/2","repository_url":"https://api.github.com/repos/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend","labels_url":"https://api.github.com/repos/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/2/comments","events_url":"https://api.github.com/repos/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/2/events","html_url":"https://github.com/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/2","id":196865839,"number":2,"title":"Remove null and empty collection attributes from JSON responses","user":{"login":"mlotysz","id":700164,"avatar_url":"https://avatars.githubusercontent.com/u/700164?v=3","gravatar_id":"","url":"https://api.github.com/users/mlotysz","html_url":"https://github.com/mlotysz","followers_url":"https://api.github.com/users/mlotysz/followers","following_url":"https://api.github.com/users/mlotysz/following{/other_user}","gists_url":"https://api.github.com/users/mlotysz/gists{/gist_id}","starred_url":"https://api.github.com/users/mlotysz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlotysz/subscriptions","organizations_url":"https://api.github.com/users/mlotysz/orgs","repos_url":"https://api.github.com/users/mlotysz/repos","events_url":"https://api.github.com/users/mlotysz/events{/privacy}","received_events_url":"https://api.github.com/users/mlotysz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-21T07:37:21Z","updated_at":"2016-12-22T08:31:49Z","closed_at":null,"body":"```\r\ncurl http://localhost:8080/movies | jq\r\n[\r\n  {\r\n    \"id\": 0,\r\n    \"title\": null,\r\n    \"director\": null,\r\n    \"cast\": null,\r\n    \"releaseDate\": null,\r\n    \"duration\": 0\r\n  },\r\n...\r\n```\r\n\r\nI'm not interested in attributes with `null` values neither for empty collections.\r\nRemove it from JSON response, please."},"comment":{"url":"https://api.github.com/repos/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/comments/268746628","html_url":"https://github.com/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/2#issuecomment-268746628","issue_url":"https://api.github.com/repos/LukaszPiskadlo/Pat2017_Lukasz_Piskadlo-Backend/issues/2","id":268746628,"user":{"login":"LukaszPiskadlo","id":16863211,"avatar_url":"https://avatars.githubusercontent.com/u/16863211?v=3","gravatar_id":"","url":"https://api.github.com/users/LukaszPiskadlo","html_url":"https://github.com/LukaszPiskadlo","followers_url":"https://api.github.com/users/LukaszPiskadlo/followers","following_url":"https://api.github.com/users/LukaszPiskadlo/following{/other_user}","gists_url":"https://api.github.com/users/LukaszPiskadlo/gists{/gist_id}","starred_url":"https://api.github.com/users/LukaszPiskadlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukaszPiskadlo/subscriptions","organizations_url":"https://api.github.com/users/LukaszPiskadlo/orgs","repos_url":"https://api.github.com/users/LukaszPiskadlo/repos","events_url":"https://api.github.com/users/LukaszPiskadlo/events{/privacy}","received_events_url":"https://api.github.com/users/LukaszPiskadlo/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T08:31:49Z","updated_at":"2016-12-22T08:31:49Z","body":"Fixed it in 9c82ff8a0398ddc2280dfe0d04edde2e5e29f537"}}
{"actor":{"display_login":"LukaszPiskadlo"}}