jmespath / jmespath/jmespath.jep

Allow reference to external parameter

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Current expression logic allow access to attributes of the current node (or the current node itself via @). The request is to formalize access to a second object of “external parameter”, similar in spirit to the ability to parametrized jsonpath queries in PostgreSQL.

This should allow:
Employee.[?name=@param.name)) // using special node reference

Employee.[?name=param(&name)) // With a function, or

Making it much easier to construct queries with dynamic parameters. Similar to placeholders in various sql dialect

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.