docsFunctionsLoopsZforJson

ZforJson

Iterates over a JSON array at the given key path within the current parsed JSON object, executing the code block for each element.

Syntax

ZforJson{key;...;code}

Arguments

NameTypeRequiredDefault
keystringYes-
codestringYes-

Example

ZforJson{items;ZloopIndex{}: ZloopValue{}}