On this page
HTTP & JSON jsonArrayAppend

$jsonArrayAppend[]

Appends a value to the end of a JSON array stored under the specified key.

Syntax
$jsonArrayAppend[key;value]

$jsonArrayAppend adds a value to the end of an existing JSON array. It is the JSON equivalent of JavaScript’s Array.push(). The key must exist and must contain an array. Use $jsonArrayUnshift to add to the beginning, and $jsonArrayPop to remove from the end.