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.
uri
The default_client is used to send the request.
default_client