We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07c7b6 commit fc6964fCopy full SHA for fc6964f
src/lib.rs
@@ -89,7 +89,7 @@
89
//! fn test(){
90
//! let finder = JsonPathFinder::from_str(r#"{"first":{"second":[{"active":1},{"passive":1}]}}"#, "$.first.second[?(@.active)]").unwrap();
91
//! let slice_of_data:Vec<JsonPathValue<Value>> = finder.find_slice();
92
-//! let js = json!({"active":2});
+//! let js = json!({"active":1});
93
//! assert_eq!(slice_of_data, jp_v![&js;"$.first.second[0]",]);
94
//! }
95
//! ```
0 commit comments