HTTP & JSON
jsonArrayIndex
$jsonArrayIndex[]
$jsonArrayIndex retrieves a single element from a JSON array by its zero-based index. It returns the value as a string. For nested objects, use dot notation with $jsonValue after extracting the element. Out-of-bounds indices return an empty string rather than throwing an error.
Syntax
bdfd
$jsonArrayIndex[key;index]
Examples
Retrieve Item at Array Index
$jsonParse[{"colors":["#5865F2","#57F287","#FEE75C"]}]
$title[Array Index Access]
$description[Primary color at index 0: `$jsonArrayIndex[colors;0]`]
$color[#5865F2]
$sendMessage[]