Decode json syntax

hi i have a json do decode
i tried to use

${JSON_DECODE(USR-cname,data.name)}

or

${JSON_DECODE(USR-cname,data[0].name)}

the json

{
    "success": 1,
    "message": null,
    "data": [
        {
            "id": "270",
            "name": "best person",
            "contact_person": null
        },
        {
            "id": "12",
            "name": "best human",
            "contact_person": null
        },
        {
            "id": "11",
            "name": "best man",
            "contact_person": null
        }
    ]
}

any tips is appreciated

thank you Chatgpt before i tried bard but did not get it correct

${JSON_DECODE(USR-cname,data.0.name)}

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