import { json } from "https://deno.land/x/actionify@0.3.0/deploy/modules/utils.ts";
This is a shortcut for creating application/json
responses. Converts data
to JSON and sets the Content-Type
header.
Parameters
data: Data
optional
init: number | ResponseInit = [UNSUPPORTED]