I need to transform a Map into xml, and then using smooks convert it back into a Map.
This map can contain complex values (ex: List), How to achieve that using smooks?
ex:
<m:map>
<entry key="a"> <l:list> <a>a1</a> <a>a2</a> </l:list></entry>
<entry key="b"> <l:list> <b>b1</b> <b>b2</b> </l:list></entry>
</m:map>
where <a>
and <b>
tags are referring to existing A and B models
class A { String property; }
class B { String property; }
Thanks,