Skip to main content
Module

x/lume/deps/jsonc.ts>parse

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function parse
import { parse } from "https://deno.land/x/lume@v1.13.2/deps/jsonc.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]