how to save multible csv-fields in List<String>
Brought to you by:
nlahme
Got a csv-file name;parent1;parent2 and want to save the both parents in a parents List.
with
@CsvField(pos = 23)
List<String> parents;
i get one string object in the List which is concat of the both parents, but i want both objects in xml for example
<person>
<name>Name</name>
<parents>
<parent>Dad</parent>
<parent>Mom</parent>
</parents>
<person>
how does it work?
there is unfortunately no example like this!
thank you