Skip to main content

read_project_data_file

Function read_project_data_file 

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

Read project data through its logical identity into a host data structure.

The Links decoder preserves structure; conversion to serde_json::Value retains that type’s existing map-order and Unicode interoperability limits. Use the codec’s ordered API when those distinctions must stay lossless.

§Errors

Returns a storage conflict, unsupported extension, read, decoding or host deserialization error. Malformed LiNo never falls back to JSON.