π
π
π
π
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
All indexes
Description
The all indexes selector allows you to target all items of a list or map.
Usage
This must be used in conjunction with the
-m
,
--multiple
flag.
1
.
[
*
]
Copied!
Example
Array
1
echo
'{"x": [1, 2, 3]}'
|
2
dasel
select
-m -p json
'.x.[*]'
3
β
4
1
5
2
6
3
Copied!
Object/Map
1
echo
'{"x": {"x": 1, "y": 2, "z": 3}}'
|
2
dasel
select
-m -p json
'.x.[*]'
3
β
4
1
5
2
6
3
Copied!
Selectors - Previous
Next Available Index
Next - Selectors
Dynamic
Last modified
1yr ago
Copy link
Contents
Description
Usage
Example
Array
Object/Map