Function game_logic::asset_manager::json::load_json_structure [−][src]
pub fn load_json_structure<'a, T: DeserializeOwned>(
dist_path: &str
) -> Result<T, InternalJsonLoadError>
Expand description
Load an embedded JSON file
This is a blocking function call
Errors
This may raise an error either because the requested asset was not found, or because the JSON data could not be deserialized.
See InternalJsonLoadError
for more information.