Skip to main content

read_json_file

Function read_json_file 

Source
pub fn read_json_file<T: for<'a> Deserialize<'a>>(
    path: &Path,
) -> Result<T, AppError>
Expand description

读取 JSON 配置文件