jmespath / jmespath/jmespath.js

Feature request: reference original root element in sub_expression or pipe

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
847
Forks
101
PR merge metrics
No merged PRs in 30d

Description

I want get "beta" from following json but cannot:
`
{
"data":{
"a": "alpha",
"b": "beta"
},
"key": "b"
}
`
What if `key | $root.data.@` ?

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.