Loading commands...
Manipulate JSON arrays with jq. Learn iteration, slicing, and array transformation techniques.
9 commands
Use '.[]' to iterate over array elements, '.[0]' for specific index.
Add element to array
Get first element of array
Flatten nested arrays into single array
Iterate over all array elements
Get last element of array
Transform each array element
Reverse array order
Get array elements from index 2 to 4
Get first N elements