pub async fn parse_response_json<RESPONSE: DeserializeOwned>(
response: Response,
latency: Duration,
) -> Result<RESPONSE, Report<ProviderError>>Expand description
Parse a JSON response, with informative errors when the format does not match the expected structure.