j9
j9
provides a high-level API to run jq programs from Rust code,
simplifying the execution of jq filters on JSON data.
Usage
To use j9, add it as a dependency in your Cargo.toml:
[]
= "0.1.3"
Example
use j9;
This example runs the simplest jq program (.) which outputs the input JSON unchanged. For more complex jq programs, simply replace "." with your jq filter.