pub fn parse_data<'a, T>(data: &'a str) -> Result<T, Box<impl Error>>where T: Serialize + Deserialize<'a>,