pub fn read_document(path: &Path) -> Result<Value>
A comp file’s document as written (JSON, or YAML for .yaml/.yml), templates not expanded (crate::templates::expand does that).
.yaml
.yml
crate::templates::expand
An unreadable file or bad JSON/YAML.