> For the complete documentation index, see [llms.txt](https://daseldocs.tomwright.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daseldocs.tomwright.me/v1/selectors/index.md).

# Index

## Description

The index selector allows you to access a specific element of an array.

## Usage

```shell
.[0]
```

## Example

```shell
$ echo '{"a":{"b": [1, 2, 3]}}' | dasel -p json '.a.b.[1]'
"2"
```
