jmespath / jmespath/jmespath.py

Allow recursive root-level wildcards

Open
#319 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.4k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

I have found #4, but I could not find a way to select elements at any level.

For example, here I might want to operate on all `foo` elements:
```js
{
"foo": 1,
"bar": {
"foo": 2
}
}
```

- `foo` only gives `1`
- `*.foo` only gives `2`

For my use cases, it would be great to have something like `**.foo` which would give both occurrences.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.