{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1239","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1239/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1239/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1239/events","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/issues/1239","id":119722939,"number":1239,"title":"Implementing a custom encoder","user":{"login":"PalliDotCom","id":3685645,"avatar_url":"https://avatars.githubusercontent.com/u/3685645?v=3","gravatar_id":"","url":"https://api.github.com/users/PalliDotCom","html_url":"https://github.com/PalliDotCom","followers_url":"https://api.github.com/users/PalliDotCom/followers","following_url":"https://api.github.com/users/PalliDotCom/following{/other_user}","gists_url":"https://api.github.com/users/PalliDotCom/gists{/gist_id}","starred_url":"https://api.github.com/users/PalliDotCom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PalliDotCom/subscriptions","organizations_url":"https://api.github.com/users/PalliDotCom/orgs","repos_url":"https://api.github.com/users/PalliDotCom/repos","events_url":"https://api.github.com/users/PalliDotCom/events{/privacy}","received_events_url":"https://api.github.com/users/PalliDotCom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-01T14:00:45Z","updated_at":"2015-12-16T13:04:19Z","closed_at":"2015-12-16T13:04:19Z","body":"Is it possible to implement a custom encoder. I want to implement a encoder for the bson format.\r\nhttp://bsonspec.org/\r\n\r\nI´ve implemented a custom DecoderInterface and added this to the configuration:\r\n\r\n```\r\nfos_rest:\r\n    body_listener:\r\n        decoders:\r\n             bson: bson_decoder\r\n```\r\n\r\nBut the request still fails:\r\n\r\n> No route found for \"PUT /api/test.bson\" \r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/comments/165098606","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/issues/1239#issuecomment-165098606","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1239","id":165098606,"user":{"login":"PalliDotCom","id":3685645,"avatar_url":"https://avatars.githubusercontent.com/u/3685645?v=3","gravatar_id":"","url":"https://api.github.com/users/PalliDotCom","html_url":"https://github.com/PalliDotCom","followers_url":"https://api.github.com/users/PalliDotCom/followers","following_url":"https://api.github.com/users/PalliDotCom/following{/other_user}","gists_url":"https://api.github.com/users/PalliDotCom/gists{/gist_id}","starred_url":"https://api.github.com/users/PalliDotCom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PalliDotCom/subscriptions","organizations_url":"https://api.github.com/users/PalliDotCom/orgs","repos_url":"https://api.github.com/users/PalliDotCom/repos","events_url":"https://api.github.com/users/PalliDotCom/events{/privacy}","received_events_url":"https://api.github.com/users/PalliDotCom/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T13:04:19Z","updated_at":"2015-12-16T13:04:19Z","body":"Thanks for your reply, now its working!"}}