json

fun json(data: Any?, init: ResponseInit = definedExternally): Response(source)

MDN Reference