insertAfter
Insert an element after the specified index in an array.
array(required): source arrayindex(required): position after which to insertelement(required): element to insert
bash
echo '{"items": ["a", "b", "d"]}' | utlx -e 'insertAfter($input.items, 1, "c")'
# ["a", "b", "c", "d"]utlx
{
updated: insertAfter($input.steps, 2, {name: "validation", order: 3})
}