jsonpath_rust/path/config.rs
1pub mod cache;
2
3use crate::path::config::cache::RegexCache;
4
5/// Configuration to adjust the jsonpath search
6#[derive(Clone, Default)]
7pub struct JsonPathConfig {
8 /// cache to provide
9 pub regex_cache: RegexCache,
10}
11
12impl JsonPathConfig {
13 pub fn new(regex_cache: RegexCache) -> Self {
14 Self { regex_cache }
15 }
16}