Inject response shape returned by IKernelApplication.inject.
readonly
statusCode: number
Response status code.
readonly
body: string | null
Raw response body as text. A byte body (from response.send(bytes)) is
UTF-8 decoded; null only when the response genuinely has no body.
json<T>(): T
Parses the response body as JSON.