Index
Description
The index selector allows you to access a specific element of an array.
Usage
.[0]Example
$ echo '{"a":{"b": [1, 2, 3]}}' | dasel -p json '.a.b.[1]'
"2"Last updated
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