pub async fn process_json_file<F, Fut>(
file_path: &Path,
processor: F,
) -> Result<()>Expand description
Processes a JSON file with a given processor function.
ยงErrors
Returns an io::Error if the file cannot be opened, read, or if the JSON cannot be parsed.