Reads a JSON value from the body of the given HTTP request, parsing it using the ASDF library according to the template type T.
Writes a JSON value to the body of the given HTTP response, serializing it using the ASDF library. Will also set Content-Type and Content-Length headers before writing.
Defines functions to read and write JSON values when handling HTTP requests.