Skip to content

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

@kintarowins

Description

@kintarowins

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions