method InjectResponse.json InjectResponse.json<T>(): T Parses the response body as JSON. Type Parameters T Return Type T Throws Error If the response has no body SyntaxError If the body is not valid JSON