HTTP & JSON
jsonForEach
$jsonForEach[]
$jsonForEach is the primary iteration mechanism for JSON data. When iterating over an object, $jsonKey[] returns the current key name and $jsonValue[] returns the value. When iterating over an array, $jsonIndex[] returns the zero-based index and $jsonValue[] returns the element. Every $jsonForEach must be matched with a corresponding $endJsonForEach — nesting is supported.
Syntax
bdfd
$jsonForEach[key]
Examples
Iterate Through Array
$jsonParse[{"badges":["Founder","Tester","VIP"]}]
$jsonForEach[badges;badge;$sendMessage[Badge earned: $jsonValue[badge]]]