Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/yaml/dist/doc/applyReviver.d.ts>applyReviver

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function applyReviver
import { applyReviver } from "https://deno.land/x/windmill@v1.67.0/node_modules/yaml/dist/doc/applyReviver.d.ts";

Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec, in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the 2021 edition: https://tc39.es/ecma262/#sec-json.parse

Includes extensions for handling Map and Set objects.

Parameters

reviver: Reviver
obj: unknown
key: unknown
val: any

Returns

unknown