jmespath / jmespath/jmespath.py

It doesn't look like jmespath can provide context for a query result

Open
#214 3 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

for example I would like to query `people[?first=='James'].last` with this json
```
{
"people": [
{"first": "James", "last": "d"},
{"first": "Jacob", "last": "e"},
{"first": "Jayden", "last": "f"},
{"missing": "different"}
],
}
```
and instead of just getting the result `d`, I'd like to also get the full path to it .e.g `people[0].last`

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.