Skip to main content
Module

x/pup/deps.ts>jsonc

Universal process manager built in Deno
Go to Latest
namespace jsonc
Deprecated
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 { jsonc } from "https://deno.land/x/pup@1.0.0-alpha-30/deps.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