Skip to content

Getting a list of arrays #242

Answered by TomWright
paradajz asked this question in Q&A
Aug 29, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

You can use the index/property selector to return the keys of an object: https://dasel.tomwright.me/s/931c278a-a1e8-45f0-bc68-675daf6ebd46

dasel -f in.json -m '.-'

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@paradajz
Comment options

Answer selected by paradajz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants