Skip to content

Commit

Permalink
- very small typo fix (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
jashanbhullar authored Apr 5, 2024
1 parent a07c7b6 commit fc6964f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
//! fn test(){
//! let finder = JsonPathFinder::from_str(r#"{"first":{"second":[{"active":1},{"passive":1}]}}"#, "$.first.second[?(@.active)]").unwrap();
//! let slice_of_data:Vec<JsonPathValue<Value>> = finder.find_slice();
//! let js = json!({"active":2});
//! let js = json!({"active":1});
//! assert_eq!(slice_of_data, jp_v![&js;"$.first.second[0]",]);
//! }
//! ```
Expand Down

0 comments on commit fc6964f

Please sign in to comment.