{"action":"created","issue":{"url":"https://api.github.com/repos/silkapp/aeson-utils/issues/2","labels_url":"https://api.github.com/repos/silkapp/aeson-utils/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/silkapp/aeson-utils/issues/2/comments","events_url":"https://api.github.com/repos/silkapp/aeson-utils/issues/2/events","html_url":"https://github.com/silkapp/aeson-utils/pull/2","id":55720933,"number":2,"title":"Consume entire value when decoding","user":{"login":"spl","id":54900,"avatar_url":"https://avatars.githubusercontent.com/u/54900?v=3","gravatar_id":"","url":"https://api.github.com/users/spl","html_url":"https://github.com/spl","followers_url":"https://api.github.com/users/spl/followers","following_url":"https://api.github.com/users/spl/following{/other_user}","gists_url":"https://api.github.com/users/spl/gists{/gist_id}","starred_url":"https://api.github.com/users/spl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spl/subscriptions","organizations_url":"https://api.github.com/users/spl/orgs","repos_url":"https://api.github.com/users/spl/repos","events_url":"https://api.github.com/users/spl/events{/privacy}","received_events_url":"https://api.github.com/users/spl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-28T06:49:19Z","updated_at":"2015-01-28T11:54:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silkapp/aeson-utils/pulls/2","html_url":"https://github.com/silkapp/aeson-utils/pull/2","diff_url":"https://github.com/silkapp/aeson-utils/pull/2.diff","patch_url":"https://github.com/silkapp/aeson-utils/pull/2.patch"},"body":"See comment on commit.\r\n\r\nThis is useful to have, but it does change the semantics of decoding. So, you may also consider having a separate function for this."},"comment":{"url":"https://api.github.com/repos/silkapp/aeson-utils/issues/comments/71823201","html_url":"https://github.com/silkapp/aeson-utils/pull/2#issuecomment-71823201","issue_url":"https://api.github.com/repos/silkapp/aeson-utils/issues/2","id":71823201,"user":{"login":"hesselink","id":75477,"avatar_url":"https://avatars.githubusercontent.com/u/75477?v=3","gravatar_id":"","url":"https://api.github.com/users/hesselink","html_url":"https://github.com/hesselink","followers_url":"https://api.github.com/users/hesselink/followers","following_url":"https://api.github.com/users/hesselink/following{/other_user}","gists_url":"https://api.github.com/users/hesselink/gists{/gist_id}","starred_url":"https://api.github.com/users/hesselink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hesselink/subscriptions","organizations_url":"https://api.github.com/users/hesselink/orgs","repos_url":"https://api.github.com/users/hesselink/repos","events_url":"https://api.github.com/users/hesselink/events{/privacy}","received_events_url":"https://api.github.com/users/hesselink/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T11:54:42Z","updated_at":"2015-01-28T11:54:42Z","body":"I didn't know this either. The function is supposed to do the same as `decode`, but also accept things that old JSON standards didn't accept at top level. The implementation of aeson currently uses `json <* skipSpace <* endOfInput`, perhaps we should also skip spaces?\r\n\r\nOther than that, I'm fine with merging this. Should this be a major version bump, since it makes certain parses fail that previously succeeded?"}}