<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/groovy/tags/bug</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 12:04:10 GMT</pubDate>
<item>
<title>(Groovy) registerObjectMarshaller in Grails 1.1, suspected Bug - kungfoo</title>
<link>http://snipplr.com/view/15146/registerobjectmarshaller-in-grails-11-suspected-bug/</link>
<description><![CDATA[ <p>Expected Behaviour
==================

*	Both classes should be rendered in the specified custom format when `store/book/list.json` is loaded.
*	Order of how the marshallers are added should not matter.
*	It should be possible to register more than one custom object marshallers.


Bug
===

*	Only the first registered marshaller is picked up as expected.
*	The second one is ignored and the default JSON generated by Grails is returned.
*	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.</p> ]]></description>
<pubDate>Tue, 19 May 2009 04:20:34 GMT</pubDate>
<guid>http://snipplr.com/view/15146/registerobjectmarshaller-in-grails-11-suspected-bug/</guid>
</item>
</channel>
</rss>
