Skip to main content

ripgrep_json_fields

Function ripgrep_json_fields 

Source
pub fn ripgrep_json_fields(
    json_str: &str,
    pattern: &str,
    context: usize,
) -> Result<Vec<JsonGrepMatch>, String>
Expand description

Grep within string values of a parsed JSON structure. Returns one match per merged context window per field.