Skip to main content

load_blueprint_from_path

Function load_blueprint_from_path 

Source
pub fn load_blueprint_from_path<P>(path: P) -> Result<Blueprint, LoadError>
where P: AsRef<Path>,
Expand description

Load a Blueprint from a file path. Detects JSON vs. YAML by extension, recursively expands $file refs, and parses the result into a typed Blueprint.