{"action":"created","issue":{"url":"https://api.github.com/repos/frodsan/tynn/issues/18","labels_url":"https://api.github.com/repos/frodsan/tynn/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/frodsan/tynn/issues/18/comments","events_url":"https://api.github.com/repos/frodsan/tynn/issues/18/events","html_url":"https://github.com/frodsan/tynn/issues/18","id":120186983,"number":18,"title":"JSON","user":{"login":"moonglum","id":95788,"avatar_url":"https://avatars.githubusercontent.com/u/95788?v=3","gravatar_id":"","url":"https://api.github.com/users/moonglum","html_url":"https://github.com/moonglum","followers_url":"https://api.github.com/users/moonglum/followers","following_url":"https://api.github.com/users/moonglum/following{/other_user}","gists_url":"https://api.github.com/users/moonglum/gists{/gist_id}","starred_url":"https://api.github.com/users/moonglum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonglum/subscriptions","organizations_url":"https://api.github.com/users/moonglum/orgs","repos_url":"https://api.github.com/users/moonglum/repos","events_url":"https://api.github.com/users/moonglum/events{/privacy}","received_events_url":"https://api.github.com/users/moonglum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T14:46:36Z","updated_at":"2015-12-03T15:17:05Z","closed_at":null,"body":"Tynn has a JSON plugin. It however only handles outgoing data by providing the `json` method. Should we also add support for incoming data when the content type is set accordingly? I think the best place for that would be the JSON plugin :smile: "},"comment":{"url":"https://api.github.com/repos/frodsan/tynn/issues/comments/161671850","html_url":"https://github.com/frodsan/tynn/issues/18#issuecomment-161671850","issue_url":"https://api.github.com/repos/frodsan/tynn/issues/18","id":161671850,"user":{"login":"frodsan","id":840464,"avatar_url":"https://avatars.githubusercontent.com/u/840464?v=3","gravatar_id":"","url":"https://api.github.com/users/frodsan","html_url":"https://github.com/frodsan","followers_url":"https://api.github.com/users/frodsan/followers","following_url":"https://api.github.com/users/frodsan/following{/other_user}","gists_url":"https://api.github.com/users/frodsan/gists{/gist_id}","starred_url":"https://api.github.com/users/frodsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frodsan/subscriptions","organizations_url":"https://api.github.com/users/frodsan/orgs","repos_url":"https://api.github.com/users/frodsan/repos","events_url":"https://api.github.com/users/frodsan/events{/privacy}","received_events_url":"https://api.github.com/users/frodsan/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T15:17:05Z","updated_at":"2015-12-03T15:17:05Z","body":"Yes, I would like to add back this feature. This was the implementation before release:\r\n\r\nhttps://github.com/frodsan/tynn/blob/32c8debe381ca77427339ffc74f3ffff6c29eb44/lib/tynn/json_parser.rb\r\n\r\nI removed because I wasn't sure about using a Rack Middleware and handling JSON errors\r\nat the same time. But I would be nice to discuss it.\r\n"}}