Hi guys,
I'm trying to serialize a list of elements of multiple types and then
deserialize it again. It does require to somehow include the type in the
serialization result to know to which type we should map to deserialize. I
think this could possible be done with an Adapter and playing with the
JsonArray.
I was just wondering if there any kind of out of the box support for this. It
doesn't seem so, at least I was not able to find.
Jackson for instance, includes a set of annotations that allow you to do
exactly this, without any extra / custom code.
Any thoughts?
Thank you.
Cheers,Roberto