jmespath / jmespath/jmespath.site
Search for property?
Open
- Dominant language
- Makefile
- Stars
- 61
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to search for a specific property regardless of where it appears in the tree? Given a JSON document
```json
{
"foo": 1,
"a": {
"foo": 2,
"b": {
"foo": 3,
"bar": 4,
"baz": 5
}
}
}
```
I want to find all occurrences of property `foo` without a-priori knowledge of the document structure, yielding the same results as grepping the JSON data or using DOM querySelectorAll():
`["foo", "a.foo", "a.b.foo"]`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.