Skip to main content
Module

x/deno_slack_hooks/deps.ts>parseJSONC

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

Converts a JSON with Comments (JSONC) string into an object. If a syntax error is found, throw a SyntaxError.

Parameters

text: string

A valid JSONC string.

optional
unnamed 1: ParseOptions = [UNSUPPORTED]