How to make the listview dynamically show the JSON body lines below?
Note that this JSON body has two subkeys which are details and item, for example, to show the commission field, I am using the JSON path notation $.result.item[:].commission, however, it shows the 3 records in the listview On the same line. leaving it like this [12.66, 6.24, 6.92], however, I need each record to be on separate lines.
The listview understands that I only have one line in this JSON body and not three lines.
{
"result": {
"details": {
"timestamp": "2023-11-15 21:54:14",
"code": 200,
"status": "Success"
},
"item": [
{
"date": "22/08/2022",
"commission": 12.66,
"site": {
"siteId": 34387067,
"siteName": "Instagram: blelbee"
}
},
{
"date": "24/08/2022",
"commission": 6.24,
"site": {
"siteId": 34160826,
"siteName": "Theraplace"
}
},
{
"date": "22/09/2022",
"commission": 6.92,
"site": {
"siteId": 34160826,
"siteName": "Theraplace"
}
}
]
}
}