On 02/02/10 20:16, Heiko Braun wrote:
> JSONEncoder seems to be fairly happy as long as my objects
implement
> Serializable *and* provide getter methods for everything, but it doesn't
> seem to handle Enums...
>
It doesn't? I'll have to verify this. Mike?
If the deferred binding doesn't kick in to generate the
boilerplate then
it's very likely some classloading problem.
You have to have ErraiApp.properties in the classpath the entities otherwise
the discovery fails.
That was it, thanks. Unfortunately, the client side is now generating
invalid marshallers (trying to call the null() method), even for classes
which don't use enums. See the attachments.
I'm way, way over my time budget on my ErraiBus investigation - I kept
thinking "I'm almost there" - but I will have to put it aside for now.
I sorry that I don't have time for a proper bug report, or even
retesting, but maybe you can make a test case for the marshaller out of
the attached files, if you like.
Regards
Sean
--
Sean Flanigan
Senior Software Engineer
Engineering - Internationalisation
Red Hat