A static class with convenience methods for reading common response content body formats.
Static
input data
The buffer contents as a JSON object.
Reads the given data buffer as a JSON object. The JSON object can be typed as T generic. No validations occurs on whether the given data is actually a type of T.
SyntaxError If data is not parseable as JSON.
The buffer contents as a string
Reads the data buffer as a string
A static class with convenience methods for reading common response content body formats.