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

x/deno/std/encoding/yaml/loader/loader_state.ts>LoaderStateOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface LoaderStateOptions
import { type LoaderStateOptions } from "https://deno.land/x/deno@v0.28.0/std/encoding/yaml/loader/loader_state.ts";

Properties

optional
legacy: boolean
optional
listener: ((...args: Any[]) => void) | null
optional
filename: string

string to be used as a file path in error/warning messages.

optional
schema: SchemaDefinition

specifies a schema to use.

optional
json: boolean

compatibility with JSON.parse behaviour.

Methods

optional
onWarning(this: null, e?: YAMLError): void

function to call on warning messages.