How to convert the ArrayList type of java to JS array in FTL template

FTL Code:

carrierDispute: {
  infoId: "${fmbInfo.infoId}",
  title: "${mbInfo.title}",
  brief: "${mbInfo.brief}",
  content: "${mbInfo.content}",
  addAttachmentList:[]  // mbInfo.addAttachmengList  ArrayList 
}

other properties can be displayed through title: "${mbInfo.title}", but how to display the addAttachmentList in it? If you write ${mbInfo.addAttachmengList} directly, you will get an error.

addAttachmentList is as follows:
clipboard.png

Apr.29,2022

you need to loop out each item with a list tag, like this:

addAttachmentList:[
<-sharplist mbInfo.addAttachmengList as attachment>
  ${attachment.fileName}, 
</-sharplist>
]
Menu