Open GoogleCodeExporter opened 9 years ago
Top level messages usually need to be pojos.
The workaround for that is to register a custom schema and delegate.
I've attached the files which you can use in your project (includes the
testcase)
That is the recommended way when working with non-pojos.
In this case, since Properties is like a Map<String,String>, it is treated like
a message.
For scalar types, only a custom delegate is needed.
Original comment by david.yu...@gmail.com
on 12 Nov 2013 at 10:24
Attachments:
Thank you very much for your helpful response!
Your solution works great except it doesn't preserve "default" values, but we
can live without them.
Original comment by weber.au...@gmail.com
on 20 Nov 2013 at 10:55
Original issue reported on code.google.com by
w...@munzinger.de
on 12 Nov 2013 at 9:01Attachments: