The input to my freemarker template is records: List<List<String>> records = new ArrayList();
each list inside records is a row from a database;
I need to create a csv;
How I can write values of a row in a separate line to create a csv.
Here is my freemarker template: for now it write any value in a different line.
<#list records>
<#items as record>
<#list record>
<#items as value>
${value},
</#items>
</#list>
</#items>
</#list>
``````````