we have json as list of values "markets": [ { "id": "1001", "name": "val1" }, { "id": "1002", "name": "Val2" }, { "id": "1003", "name": "val3" } ]
using jasper report list component we want to display these list of values of name attribute comma separated in one text field.
with existing list the values of name are still coming as rows we want it to be single text field like this vale1,val2,val3
how can we use list of jasper report to loop through the values and show in single text fields as comma separated .
Thanks, Anjana
You don't need a list for that, you could just use a variable like so:
And the output: