Function jsonpath_rust::find

source ยท
pub fn find(path: &JsonPathInst, json: &Value) -> Value
Expand description

finds a slice of data and wrap it with Value::Array by cloning the data. Returns either an array of elements or Json::Null if the match is incorrect.