Data action json to script

Helllo, currently returning json array string to script (fullfiled from data action).

How can i get the number of items? or access to some element [1]

tried with .length, indexof... not working :frowning:

this is my json and script:

[{
"fullname": "ygessen",
"phone_1": "60",
"total_policies": 1,
"unpaid_policies": 1,
"accidents_open": 0,
"policies": [{
"status": "Anulada",
"periodicity": "Anual",
"emission_date": "14/12/2022",
"expiration_date": "14/12/2023",
"unpaid": true,
"accident": false,
"signed_document": ""
}
]
}, {
"fullname": "aidn ebapru ee2yssgn",
"phone_1": "70",
"total_policies": 1,
"unpaid_policies": 1,
"accidents_open": 0,
"policies": [{
"status": "Anulada",
"periodicity": "Anual",
"emission_date": "14/12/2022",
"expiration_date": "14/12/2023",
"unpaid": true,
"accident": false,
"signed_document": ""
}
]
}
]

Onñy thing that i achieved is the full measure of the string (characthers), but not the items count

What i need is to convert json message in table through Markdown or something..

Any idea?

no news here? :frowning:

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.