Function serdeconv::from_json_file [] [src]

pub fn from_json_file<T, P>(path: P) -> Result<T> where
    T: for<'a> Deserialize<'a>,
    P: AsRef<Path>, 

Converts from the JSON file to a value of T type.