pub fn parse_json(raw: &str, path: &Path) -> Result<Config, ConfigError>
“Low-level” helper to parse JSON into a Config.
Config
raw should be the contents of the file that is represented by path.
raw
path