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

x/lume/deps/jsonc.ts

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
Deprecated

(will be removed after 0.182.0) Import from std/jsonc instead.

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

This module is browser compatible.

import * as lume from "https://deno.land/x/lume@v1.16.0/deps/jsonc.ts";

Functions

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

Type Aliases

Valid types as a result of JSON parsing