Registry / serialization / serde-json-path

serde-json-path

JSON →
library0.7.2rscratesunverified

Query serde_json Values using JSONPath expressions.

# Cargo.toml [dependencies] serde_json_path = "0.7.2"
INSTALL
IMPORT
SIG · SERDE-JSON-PATH
S
serde-json-path
serializationrustv0.7.2
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 serde_json_path::JsonPath;

Query a JSON value using JSONPath.

use serde_json_path::JsonPath; fn main() { let json = serde_json::json!({"key": "value"}); let path = JsonPath::parse("$.key").unwrap(); let result = path.query(&json).unwrap(); println!("{:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
serde-json-path — cargo add serde-json-path · libregistry