<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 13:13:52 +0000</lastBuildDate>
    <item>
      <title>(Groovy) registerObjectMarshaller in Grails 1.1, suspected Bug - kungfoo</title>
      <link>https://snipplr.com/view/15146/registerobjectmarshaller-in-grails-11-suspected-bug</link>
      <description>&lt;p&gt;Expected Behaviour&#13;
==================&#13;
&#13;
*	Both classes should be rendered in the specified custom format when `store/book/list.json` is loaded.&#13;
*	Order of how the marshallers are added should not matter.&#13;
*	It should be possible to register more than one custom object marshallers.&#13;
&#13;
&#13;
Bug&#13;
===&#13;
&#13;
*	Only the first registered marshaller is picked up as expected.&#13;
*	The second one is ignored and the default JSON generated by Grails is returned.&#13;
*	The order of the calls to `registerObjectMarshaller` matters, such that if the Book marshaller is added first, that one works. However if the Author marshaller is first, that one works.&lt;/p&gt;</description>
      <pubDate>Tue, 19 May 2009 04:20:34 UTC</pubDate>
      <guid>https://snipplr.com/view/15146/registerobjectmarshaller-in-grails-11-suspected-bug</guid>
    </item>
  </channel>
</rss>
