/ Published in: Groovy
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.
==================
* 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.