Skip to content
HTTP & JSON jsonJoinArray

$jsonJoinArray[]

$jsonJoinArray combines all elements of a JSON array into a single string with a separator between each element — equivalent to JavaScript’s Array.join(). This is the inverse of $jsonArray which splits a string into an array. Use \n for line breaks in embeds, or custom separators like bullets or HTML tags.

Syntax

bdfd
$jsonJoinArray[key;separator]

Examples

Join Array into Delimited String

$jsonParse[{"skills":["Dart","JavaScript","BDFD"]}]
$title[Developer Skills]
$description[Skills: **$jsonJoinArray[skills;, ]**]
$color[#9B30FF]
$sendMessage[]