Skip to main content

read_json

Function read_json 

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

The JSON file at path as a T, or None when it is missing or is not one.