jmespath / jmespath/jmespath.py

Find a key wherever it is

Open
#272 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

Hello, is there a syntax in order to specify to look for a key in the whole data structure?

For example in JSONPath I can execute
`$.sections[*]..item`

The double dots indicate to search 'item' at every nested level after 'sections'

Is it possible also in jmespath?
Riccardo

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the JMESPath syntax and how it represents nested data, then compare the requested recursive lookup with the JSONPath example `$.sections[*]..item`. Done would mean a decided, documented way to search for `item` at every nested level after `sections`, with the behavior and scope clearly specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.