Paste globals

so long story short, I am making widget that fetches and shows data from json api problem is that i don’t know function to replace number in function formula so I need to make globals that are increasing in number of array something like following $wg(gv(rl), json, .results[0].url)$ then next number $wg(gv(rl), json, .results[1].url)$ then increasing in number by 1 in brackets() so my question is i discovered that kustom app saves data in following format “##KUSTOMCLIP##
{
“clip_version”: 1,
“KUSTOM_GLOBAL”: {
“count”: {
“index”: 0,
“type”: “TEXT”,
“title”: “count”,
“value”: “$wg(gv(rl), json, .count)$”,
“key”: “count”
},
“data0”: {
“index”: 0,
“type”: “TEXT”,
“title”: “data0”,
“value”: “$wg(gv(rl), json, .results[0].url)$”,
“key”: “data0”
}
}
}
##KUSTOMCLIP##” but i tried to copy that increasing number formula in new element json array with each one being different key and title for each element but when i went to paste it showed as error “Error:preset:invalid type:NONE” so am i doing something wrong or is that feature to avoid piracy if so please let me know so becuase if it is then god forgot for sake i have to create 50 new variable is sooo frustrating :triumph: