Registry / utility / jsonpath-rust

jsonpath-rust

JSON →
library1.0.4rscratesunverified

Provides basic functionality to find data according to a JSONPath filtering query.

# Cargo.toml [dependencies] jsonpath-rust = "1.0.4"
INSTALL
IMPORT
SIG · JSONPATH-RUST
J
jsonpath-rust
utilityrustv1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JsonPath
use jsonpath_rust::JsonPath;

Query JSON data using a JSONPath expression.

use jsonpath_rust::JsonPath; use serde_json::json; fn main() { let data = json!({"store": {"book": [{"title": "A"}]}}); let path = JsonPath::try_from("$.store.book[*].title").unwrap(); let result = path.find(&data); println!("Found: {:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
jsonpath-rust — cargo add jsonpath-rust · libregistry