Reads a JSON value from the body of the given HTTP request, parsing it using the ASDF library according to the template type T.
Throws a BAD_REQUEST HttpStatusException if deserialization fails.
The request to read the JSON from.
The value that was read.
Reads a JSON value from the body of the given HTTP request, parsing it using the ASDF library according to the template type T.
Throws a BAD_REQUEST HttpStatusException if deserialization fails.