Skip to main content

read_settings

Function read_settings 

Source
pub fn read_settings(path: &Path) -> Result<Map<String, Value>, SettingsError>
Expand description

The settings document in the settings.json or settings.toml at path, read as yapi reads it. A missing file is an empty document.