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

std/jsonc/mod.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.213.0/jsonc/mod.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.