pub async fn get_json<O>(uri: impl TryUri) -> Result<O, Box<dyn Error>>where
O: DeserializeOwned + Unpin,Expand description
Send a GET request to the uri and de-serializes the response.
The default_client is used to send the request.
pub async fn get_json<O>(uri: impl TryUri) -> Result<O, Box<dyn Error>>where
O: DeserializeOwned + Unpin,Send a GET request to the uri and de-serializes the response.
The default_client is used to send the request.