def METHOD_NAME(self, response, **_kwargs):
    try:
        return response.json()
    except (AttributeError, ValueError) as err:
        raise marshmallow.ValidationError(
            "response doesn't have a valid JSON body"
        ) from err