Trait JSONPaths

Source
pub trait JSONPaths {
    // Required methods
    fn json_paths(
        &self,
        explode_array: bool,
        inspect_arrays: bool,
    ) -> Vec<String>;
    fn json_paths_types(
        &self,
        explode_array: bool,
        inspect_arrays: bool,
    ) -> IndexMap<String, String>;
}

Required Methods§

Source

fn json_paths(&self, explode_array: bool, inspect_arrays: bool) -> Vec<String>

Lists all of the json_paths by walking a JSON self. Includes flags for how to walk arrays

Source

fn json_paths_types( &self, explode_array: bool, inspect_arrays: bool, ) -> IndexMap<String, String>

Maps all of the json_paths to the type they contain by walking a JSON self. Includes flags for how to walk arrays

Implementors§