Skip to content
HTTP & JSON jsonArray

$jsonArray[]

$jsonArray converts a delimited string value into a JSON array by splitting on the given separator. This is particularly useful when working with data that arrives as delimited text (CSV lines, path segments, tagged values) and needs to be manipulated as an array. The key must already exist and contain a string value.

Syntax

bdfd
$jsonArray[key;separator?]

Examples

Access JSON Array Items

$jsonParse[{"tags":["discord","bot","bdfd","blocks"]}]
$title[JSON Array Elements]
$description[First tag: `$jsonArrayIndex[tags;0]`\nTotal tags: **$jsonArrayCount[tags]**]
$color[#00BCD4]
$sendMessage[]