[−][src]Function json_query::run
pub fn run(program: &str, data: &str) -> Result<String, String>
Run a jq program on a blob of json data.
In the case of failure to run the program, feedback from the jq api will be
available in the supplied String
value.
Failures can occur for a variety of reasons, but mostly you'll see them as
a result of bad jq program syntax, or invalid json data.