fn write_json( artifact_root: &Path, relative: &str, value: &Value, ) -> Result<(), FeatureCompileError>
Writes one generated JSON document inside the artifact boundary.