How does freemarker parse such a string?

the information returned by the API is as follows:

{"hello1":"","hello2":",","hello3":""}

how can freemarker call the tag1/tag2/tag3 of this data as easily as js and separate the words in the loop with commas

Mar.18,2021

logical processing should not be done in freemarker. Before loading the freemarker template, your java code can objectify the returned json and convert comma-separated values such as tag2 into an array. The rest is easy. In the template, you can deal with them with statements like this:

<-sharplist tags as tag> 
<div><a href="/xxx">${tag.name}</a></div>
</-sharplist>
Menu