The index selector allows you to access a specific element of an array.
.[0]
$ echo '{"a":{"b": [1, 2, 3]}}' | dasel -p json '.a.b.[1]' "2"
Last updated 2 years ago