All indexes
Last updated
The all indexes selector allows you to target all items of a list or map.
This must be used in conjunction with the -m, --multiple flag.
.[*]$ echo '{"x": [1, 2, 3]}' | dasel select -m -p json '.x.[*]'
1
2
3$ echo '{"x": {"x": 1, "y": 2, "z": 3}}' | dasel select -m -p json '.x.[*]'
1
2
3Last updated