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

x/windmill/node_modules/comment-json/index.d.ts>parse

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Latest
function parse
import { parse } from "https://deno.land/x/windmill@v1.415.2/node_modules/comment-json/index.d.ts";

Converts a JavaScript Object Notation (JSON) string into an object.

Parameters

json: string

A valid JSON string.

optional
reviver: Reviver

A function that transforms the results. This function is called for each member of the object.

optional
removes_comments: boolean

If true, the comments won't be maintained, which is often used when we want to get a clean object. If a member contains nested objects, the nested objects are transformed before the parent object is.