get_json

Function get_json 

Source
pub async fn get_json<J: DeserializeOwned>(
    client: &Client,
    base_url: &Url,
    path: &str,
) -> Result<J, Error>
Expand description

Perform a GET request and parse the result as a JSON.