besok / jsonpath-rust

Support for json-path in Rust
https://crates.io/crates/jsonpath-rust
MIT License
104 stars 27 forks source link

Allow cloning JsonPathInst #45

Closed ronmrdechai closed 1 year ago

ronmrdechai commented 1 year ago

Would be nice to be able to precompile JsonPath objects and simply clone them into JsonPathFinders. Currently JsonPath is cloneable, but JsonPathInst (the public API) is not.

besok commented 1 year ago

yeah, that is a good catch!