parse_response_json

Function parse_response_json 

Source
async fn parse_response_json<T>(response: Response) -> ModelResult<T>
Expand description

Safely parses a response body as JSON, capturing the actual response body in error cases