jsonpath-rust 0.7.5

The library provides the basic functionality to find the set of the data according to the filtering query.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use jsonpath_rust::JsonPath;
use serde_json::json;

fn main() {
    let data = json!({
        "Hello":"World",
        "Good":"Bye",
    });
    let path = JsonPath::try_from("$.Hello").unwrap();
    let search_result = path.find(&data);
    println!("Hello, {}", search_result);
}