pub async fn get_json<J: DeserializeOwned>( client: &Client, base_url: &Url, path: &str, ) -> Result<J, Error>
Perform a GET request and parse the result as a JSON.