Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: reference original root element in sub_expression or pipe #56

Open
MountLion opened this issue Oct 16, 2019 · 1 comment

Comments

@MountLion
Copy link

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

@springcomp
Copy link

@MountLion we used to think about specifying the $ token for this use case. However, it seems better served by the let() function instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants