Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/jsonc/parse.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.196.0/jsonc/parse.ts";

parse function for parsing JSONC (JSON with Comments) strings.

This module is browser compatible.

Functions

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

Type Aliases

The type of the result of parsing JSON.