π
π
π
π
Dasel
Searchβ¦
π
π
π
π
Dasel
Introduction
Installation
Use as a go package
Github
Playground
Usage
Select
Put
Put object
Put document
Delete
Flags
Supported file types
Selectors
Introduction
Property
Keys and indexes
Index
Next Available Index
All indexes
Dynamic
Search
Length
Type
Notes
File formatting and ordering
Memory usage
Converting between formats
Examples
JQ to Dasel
YQ to Dasel
XML
Filter JSON API results
Powered By
GitBook
Index
Description
The index selector allows you to access a specific element of an array.
Usage
1
.
[
0
]
Copied!
Example
1
echo
'{"a":{"b": [1, 2, 3]}}'
|
dasel -p json
'.a.b.[1]'
2
"2"
Copied!
Selectors - Previous
Keys and indexes
Next - Selectors
Next Available Index
Last modified
1yr ago
Copy link
Contents
Description
Usage
Example