Skip to content

Feature request: JMESPath tree interpreter #2209

Closed
@dreamorosi

Description

@dreamorosi

Use case

As part of the JMESPath utility implementation we need to define a tree interpreter.

The tree interpreter serves as a component responsible for evaluating the Abstract Syntax Tree (AST) generated during the parsing process against a given JSON document. he purpose of the tree interpreter is to interpret the meaning of the JMESPath expression represented by the AST and to extract the relevant data from the JSON document accordingly.

The result of this evaluation will be the result of the query.

Solution/User Experience

The tree interpreter should use Vaughan R. Pratt's "Top Down Operator Precedence".

All types, classes, and functions should be documented and exposed to customers via API docs.

Alternative solutions

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityjmespathThis item relates to the JMESPath Utility

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions