Skip to content
Discussion options

You must be logged in to vote

Just a small update - I appreciate this has been a long time coming but with V3 (in active development) this is already supported:

Where test.json contains the JSON above....

$ cat test.json | ./dasel -i json 'users.filter(name.last =~ r/^W/)'
[{"name":{"first":"Tom","last":"Werknemer"},"primary":true},{"name":{"first":"Tom","last":"Wright"},"primary":true},{"extra":{"name":{"first":"Joe","last":"Blogs"}},"name":{"first":"Jim","last":"Wright"},"primary":false}]

V3 is being developed on this branch: #432

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@salim-b
Comment options

@TomWright
Comment options

Comment options

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