ArrayLength JSON function
Returns the length of the json array.
Namespace
json
Input
json-array or json-string that is an array.
Output
number(int)
Example
if body has the json specified above, then the result of the operation would return 8 as the result.
set-column len json:ArrayLength(json:Select(body, true, $.numbers))