jmespath / jmespath.rs

Rust implementation of JMESPath, a query language for JSON
MIT License
132 stars 26 forks source link

Feature: recursive descent operator #44

Open chipsenkbeil opened 3 years ago

chipsenkbeil commented 3 years ago

Being discussed to formally be added to the spec here: https://github.com/jmespath/jmespath.py/issues/110

If I can get this library back up to working order including the macros, the next thing I'd like to see is an optional feature to add a non-standard recursive descent operator while the spec above gets discussed. Gated behind a feature like "nonstandard-recursive-descent", it would enable parsing .. in the same manner as JSONPath and E4X, which expands the flexibility of jmespath.

Once a standard solution became defined the spec, this feature could be sunset or default to the official solution.

pratikpparikh commented 3 years ago

@chipsenkbeil do you plan to implement this request or you are hoping that contributors will pick this up?

chipsenkbeil commented 3 years ago

@pratikpparikh, eventually, but for the moment I have other items higher up on my priority list. You or anyone else is welcome to tackle it first, if you'd like.

springcomp commented 1 year ago

@chipsenkbeil @pratikpparikh We want to propose this feature to JMESPath and will include this in the next iteration for JMESPath Community.

@chipsenkbeil please note that a Rust implementation of JMESPath Community is pretty-much finalized.