pub fn frag(
input: &str,
level: usize,
out_dir: Option<&str>,
) -> Result<Vec<PathBuf>, Box<dyn Error>>Expand description
Descends level levels and writes one JSON file per child found there.
ยงErrors
Returns an error if the input cannot be read or parsed, or if any write fails.