[−][src]Function osauth::request::to_json

pub async fn to_json<T>(response: Response) -> Result<T, Error> where
    T: DeserializeOwned + Send, 

Check the response and convert it to a JSON.