Works with
•JSR Score58%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
parse(): JsonValue
text: string,
unnamed 1?: ParseOptions
Converts a JSON with Comments (JSONC) string into an object.
If a syntax error is found, throw a SyntaxError.
Interfaces
I
Options for parse.
- allowTrailingComma: boolean
Allow trailing commas at the end of arrays and objects.