Function serenity::json::from_reader

source ยท
pub fn from_reader<R, T>(rdr: R) -> Result<T>
where R: Read, T: DeserializeOwned,
Expand description

Deserialize an instance of type T from bytes of JSON text.