Skip to main content

read_project_data_file_with_format

Function read_project_data_file_with_format 

Source
pub fn read_project_data_file_with_format<T: DeserializeOwned>(
    file: impl AsRef<Path>,
    format: ProjectDataFormat,
) -> Result<T, String>
Expand description

Read data with an explicitly chosen external JSON or LiNo representation.

ยงErrors

Returns a storage conflict, unsupported format, read or decoding error.