1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod cache;

use crate::path::config::cache::RegexCache;

/// Configuration to adjust the jsonpath search
#[derive(Clone, Default)]
pub struct JsonPathConfig {
    /// cache to provide
    pub regex_cache: RegexCache,
}

impl JsonPathConfig {
    pub fn new(regex_cache: RegexCache) -> Self {
        Self { regex_cache }
    }
}