Function HTTPServerRequest.json
Contains the parsed Json for a JSON request.
A JSON request must have the Content-Type "application/json" or "application/vnd.api+json".
Example
Get the json body when there is no content-type header
assert(createTestHTTPServerRequest(URL("http://localhost/")) .json .type == Json .Type .undefined);