I have a JSON array on the backend and I'd like to create a string by concatenating the values contained in that JSON.
Example:
"prod_itens": [
{
"$id": "1",
"id_item": "3",
"descricao_item": "APP GARÇON ADD",
"qtde_item": "3"
},
{
"$id": "2",
"id_item": "3",
"descricao_item": "Licença ADD",
"qtde_item": "3"
}
]
Create a string from the content of 'item_description'.
APP GARÇON ADD | Licença ADD
I've already tried creating a 'setValue' and inserting the content of the setValue + $value.descricao_item inside a repeat loop, but each time it loops, it only inserts the value once, keeping the value of the last index in the setValue.
What would be the correct way to proceed?

