Fulfills with the contents of the stream parsed as a UTF-8 encoded string that is then passed through JSON.parse()
.
function
stream.consumers.json
): Promise<unknown>;
@returns
function
Fulfills with the contents of the stream parsed as a UTF-8 encoded string that is then passed through JSON.parse()
.