Skip to main content
Go to Latest
interface LoaderStateOptions
import { type LoaderStateOptions } from "https://deno.land/std@0.152.0/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.