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

x/fresh/src/server/deps.ts>JSONC

The next-gen web framework.
Extremely Popular
Go to Latest
namespace JSONC
import { JSONC } from "https://deno.land/x/fresh@1.5.4/src/server/deps.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.