Re: [Simple-support] Serialization of nested lists, arrays
Brought to you by:
niallg
|
From: Bernhard G. <ber...@tu...> - 2012-04-27 13:41:07
|
Hi Niall,
you wrote (2012-04-26T15:18:13-0700):
> You can create an object that contains a list and make the list
> inline like so. @ElementListList<Blah>list;
> class Blah { @ElementList(inline=true) List<BigDecimal> inline;}
Thanks for the idea. But while this would work for the XML output, the
necessary wrapper class (Blah) would be bad design on the Java side.
On a related topic, is there a way to make text lists like the default
serializations of arrays whitespace-separated instead of
comma-separated? Looking at XML schema descriptions the former seems to
be the norm.
Best regards,
Bernhard
|