{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/2646","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2646/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2646/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2646/events","html_url":"https://github.com/crystal-lang/crystal/issues/2646","id":156688891,"number":2646,"title":"String.each_line includes \"\\n\" character","user":{"login":"umurgdk","id":624974,"avatar_url":"https://avatars.githubusercontent.com/u/624974?v=3","gravatar_id":"","url":"https://api.github.com/users/umurgdk","html_url":"https://github.com/umurgdk","followers_url":"https://api.github.com/users/umurgdk/followers","following_url":"https://api.github.com/users/umurgdk/following{/other_user}","gists_url":"https://api.github.com/users/umurgdk/gists{/gist_id}","starred_url":"https://api.github.com/users/umurgdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umurgdk/subscriptions","organizations_url":"https://api.github.com/users/umurgdk/orgs","repos_url":"https://api.github.com/users/umurgdk/repos","events_url":"https://api.github.com/users/umurgdk/events{/privacy}","received_events_url":"https://api.github.com/users/umurgdk/received_events","type":"User","site_admin":false},"labels":[{"id":260346999,"url":"https://api.github.com/repos/crystal-lang/crystal/labels/draft","name":"draft","color":"00B8B8","default":false},{"id":155243126,"url":"https://api.github.com/repos/crystal-lang/crystal/labels/RFC","name":"RFC","color":"009800","default":false},{"id":253019694,"url":"https://api.github.com/repos/crystal-lang/crystal/labels/standard%20library","name":"standard library","color":"fad8c7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-05-25T08:15:01Z","updated_at":"2016-12-13T19:54:48Z","closed_at":null,"body":"Im not sure if it is intended behaviour but i believe string elements in the array which returned by String.lines (which is generated using String.each_line) shouldn't include \"\\n\" characters.\n\n``` crystal\n\"hello\\nworld\\nlast\".lines # => [\"hello\\n\", \"world\\n\", \"last\"]\n```\n"},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/266843709","html_url":"https://github.com/crystal-lang/crystal/issues/2646#issuecomment-266843709","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2646","id":266843709,"user":{"login":"asterite","id":209371,"avatar_url":"https://avatars.githubusercontent.com/u/209371?v=3","gravatar_id":"","url":"https://api.github.com/users/asterite","html_url":"https://github.com/asterite","followers_url":"https://api.github.com/users/asterite/followers","following_url":"https://api.github.com/users/asterite/following{/other_user}","gists_url":"https://api.github.com/users/asterite/gists{/gist_id}","starred_url":"https://api.github.com/users/asterite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asterite/subscriptions","organizations_url":"https://api.github.com/users/asterite/orgs","repos_url":"https://api.github.com/users/asterite/repos","events_url":"https://api.github.com/users/asterite/events{/privacy}","received_events_url":"https://api.github.com/users/asterite/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T19:54:48Z","updated_at":"2016-12-13T19:54:48Z","body":"@RX14 Yes, I wouldn't mind it being true by default"}}
{"actor":{"display_login":"asterite"}}