Skip to main content
Module

x/deno_slack_hooks/utilities.ts>getJSON

Helper library implementing the contract between the Slack CLI and Slack application SDKs
Go to Latest
function getJSON
import { getJSON } from "https://deno.land/x/deno_slack_hooks@1.2.2/utilities.ts";

getJSON attempts to read the given file. If successful, it returns the contents of the file. If the extraction fails, it returns an empty object.

Parameters

file: string