[][src]Function ena::config::read_json

pub fn read_json<T>(path: &str) -> T where
    T: DeserializeOwned

Read a json file

Arguments

Example

use ena::config::*;
let config: Config = read_json(config_path);