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

x/aether/deps.ts>YAML.Document#toJSON

A Deno library to interface with the Discord API
Latest
method YAML.Document.prototype.toJSON
import { YAML } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { Document } = YAML;

A JSON representation of the document contents.

Parameters

optional
jsonArg: string | null

Used by JSON.stringify to indicate the array index or property name.

optional
onAnchor: ToJSOptions["onAnchor"]