pub fn json_loads<T: for<'de> Deserialize<'de>>( json_str: &str, ) -> Result<T, Box<dyn Error>>
Deserialize data from JSON string.