pub async fn read_json_with_options<T>(
filename: &Path,
options: Options,
) -> Result<T>where
T: DeserializeOwned,
Expand description
Read text file and deserialized it using serde-json
.
pub async fn read_json_with_options<T>(
filename: &Path,
options: Options,
) -> Result<T>where
T: DeserializeOwned,
Read text file and deserialized it using serde-json
.