Last updated 2 years ago
The next available index selector allows you to target the next available index of an array.
You can think of this as appending to a list.
This is only available in commands.
.[]
$ echo '{"x": [1, 2]}' | dasel put int -p json '.x.[]' 3 { "x": [ 1, 2, 3 ] }