Skip to main content

get_json

Function get_json 

Source
pub async fn get_json<T: DeserializeOwned>(
    client: &Client,
    url: &str,
) -> Result<T>
Expand description

Fetch a URL and deserialize the JSON body.