[−][src]Function jql::walker
pub fn walker(json: &Value, selectors: Option<&str>) -> Result<Value, String>
Process a Serde JSON Value based on the provided selectors.
Example
use serde_json::json; let json_array = json!([2, 3, 5, 7, 11]); assert_eq!(jql::walker(&json_array, Some("[4]")), Ok(json!(11)));