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 mod from "https://deno.land/std@0.183.0/encoding/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 |