Skip to content

Commit

Permalink
Allow cloning JsonPathInst (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: Ron Mordechai <[email protected]>
  • Loading branch information
ronmrdechai and Ron Mordechai authored Sep 22, 2023
1 parent 7df5619 commit 5997550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ pub trait JsonPathQuery {
fn path(self, query: &str) -> Result<Value, String>;
}

#[derive(Clone)]
pub struct JsonPathInst {
inner: JsonPath,
}
Expand Down

0 comments on commit 5997550

Please sign in to comment.