pub fn for_each_fixture(dir: &Path, f: impl FnMut(&str, &Value))
Invoke f(name, json) for every *.json fixture in dir, sorted by file name. PANICS if the directory holds no fixtures (or is missing) — the empty-glob rule.
f(name, json)
*.json
dir