Question
Cannot index property 'displayName' of type String into type List of Variant
I have the below sample json variable.
i want to get the number of values under tags.
local!Json:{
tags:{
"description": " ",
"displayName": ""
},
{
"description": "",
"displayName": ""
},
{
"description": "",
"displayName": ""
},
},
To achieve this, i have tried using count(local!Json.tags.displayName). it is throwing the below error.
"Cannot index property 'displayName' of type String into type List of Variant".
How to resolve this?
