{"action":"opened","issue":{"url":"https://api.github.com/repos/grails-plugins/grails-rest-client-builder/issues/34","labels_url":"https://api.github.com/repos/grails-plugins/grails-rest-client-builder/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/grails-plugins/grails-rest-client-builder/issues/34/comments","events_url":"https://api.github.com/repos/grails-plugins/grails-rest-client-builder/issues/34/events","html_url":"https://github.com/grails-plugins/grails-rest-client-builder/issues/34","id":58797309,"number":34,"title":"Custom Marshallers Disposed When Calling new RestBuilder()","user":{"login":"ctoestreich","id":691357,"avatar_url":"https://avatars.githubusercontent.com/u/691357?v=3","gravatar_id":"","url":"https://api.github.com/users/ctoestreich","html_url":"https://github.com/ctoestreich","followers_url":"https://api.github.com/users/ctoestreich/followers","following_url":"https://api.github.com/users/ctoestreich/following{/other_user}","gists_url":"https://api.github.com/users/ctoestreich/gists{/gist_id}","starred_url":"https://api.github.com/users/ctoestreich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctoestreich/subscriptions","organizations_url":"https://api.github.com/users/ctoestreich/orgs","repos_url":"https://api.github.com/users/ctoestreich/repos","events_url":"https://api.github.com/users/ctoestreich/events{/privacy}","received_events_url":"https://api.github.com/users/ctoestreich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-24T20:15:36Z","updated_at":"2015-02-24T20:15:36Z","closed_at":null,"body":"When calling new RestBuilder from a controller, the custom json marshaling registered in the bootstrap are thrown disposed of and json marshalling returns to default state.\r\n\r\nBootstrap\r\n![screen shot 2015-02-24 at 2 09 48 pm](https://cloud.githubusercontent.com/assets/691357/6358208/90200794-bc2f-11e4-8dbd-aa7b3198207b.png)\r\n\r\nCustom JSON Marshaler Registration\r\n![screen shot 2015-02-24 at 2 10 04 pm](https://cloud.githubusercontent.com/assets/691357/6358195/78f0a0ce-bc2f-11e4-9e86-727b50bb9f6a.png)\r\n\r\nJson before calling controller method\r\n![screen shot 2015-02-24 at 2 07 59 pm](https://cloud.githubusercontent.com/assets/691357/6358138/19fa1564-bc2f-11e4-88a1-6b91e474cdcc.png)\r\n\r\nController Method\r\n![screen shot 2015-02-24 at 2 08 41 pm](https://cloud.githubusercontent.com/assets/691357/6358148/29e54a52-bc2f-11e4-8d6c-8f79c2c12c2d.png)\r\n\r\nJson after calling controller method\r\n![screen shot 2015-02-24 at 2 08 58 pm](https://cloud.githubusercontent.com/assets/691357/6358169/569acdf6-bc2f-11e4-9db6-c767b1608a99.png)\r\n\r\nJVM: 1.7\r\nGrails: 2.3.8\r\nPlugin: 2.0.3"}}