Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function YAML.parse
import { YAML } from "https://deno.land/x/embassyd_sdk@v0.3.4.0.0-alpha2/lib/esm/dependencies.js";
const { parse } = YAML;

Parses content as single YAML document.

Returns a JavaScript object or throws YAMLException on error. By default, does not support regexps, functions and undefined. This method is safe for untrusted data.

Parameters

content
options