Function serde_read_json

Source
pub fn serde_read_json<T: DeserializeOwned>(path: &Path) -> Result<T>
Expand description

Read the file at path to RAM, then deserialize it using serde_json. If you want to support json5 or ron, use config_file.rs instead.