SkillAgentSearch skills...

Jmespath.rs

Rust implementation of JMESPath, a query language for JSON

Install / Use

/learn @jmespath/Jmespath.rs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

JMESPath for Rust

Rust implementation of JMESPath, a query language for JSON.

Documentation

Installing

This crate is on crates.io and can be used by adding jmespath to the dependencies in your project's Cargo.toml.

[dependencies]
jmespath = "0.5"

If you are using a nightly compiler, or reading this when specialization in Rust is stable (see rust#31844), then enable the specialized feature to switch on usage of specialization to get more efficient code:

[dependencies.jmespath]
version = "0.5"
features = ["specialized"]

Examples

extern crate jmespath;

let expr = jmespath::compile("foo.bar").unwrap();

// Parse some JSON data into a JMESPath variable
let json_str = r#"{"foo": {"bar": true}}"#;
let data = jmespath::Variable::from_json(json_str).unwrap();

// Search the data with the compiled expression
let result = expr.search(data).unwrap();
assert_eq!(true, result.as_boolean().unwrap());
View on GitHub
GitHub Stars156
CategoryDevelopment
Updated1mo ago
Forks36

Languages

Rust

Security Score

100/100

Audited on Feb 1, 2026

No findings