Registry / serialization / jsonpath-lib

jsonpath-lib

JSON →
library0.3.0rscratesunverified

A JsonPath engine written in Rust, with WebAssembly and JavaScript API support.

# Cargo.toml [dependencies] jsonpath_lib = "0.3.0"
INSTALL
IMPORT
SIG · JSONPATH-LIB
J
jsonpath-lib
serializationrustv0.3.0
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.

select
use jsonpath_lib::select;

Queries a JSON object using a JsonPath expression.

use jsonpath_lib::select; use serde_json::json; let data = json!({"store": {"book": [{"title": "Book A"}]}}); let result = select(&data, "$.store.book[*].title").unwrap(); println!("Titles: {:?}", result);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jsonpath-lib — cargo add jsonpath-lib · libregistry