Closed je888 closed 5 months ago
For example, a data:
let value = json!([ {"name": "n1", "$age": 100}, {"name": "n2", "$age": 200} ]);
How to query all "$age"?
I've found a solution:
let path = JsonPath::parse(r#"$..['$age']"#).unwrap();
Thank you for the library!
Thank you @je888 - glad you figured it out 🙂
For example, a data:
How to query all "$age"?