Construct a new JsonResponse.
The JSON data to send in the response body.
OptionalstatusCode: number = 200The HTTP response status code to send.
Optionalheaders: HeadersInitThe HTTP response headers to send.
Protected ReadonlybufferFetch the buffer to send in the response body.
Protected ReadonlyheadersThe HTTP response headers to send.
ReadonlystatusThe HTTP response status code to send.
An HTTP response with a plain text body.