Function zng_task::http::get_json

source ·
pub async fn get_json<O>(uri: impl TryUri) -> Result<O, Box<dyn Error>>
Expand description

Send a GET request to the uri and de-serializes the response.

The default_client is used to send the request.