import { type DumperStateOptions } from "https://deno.land/x/deno@v0.28.0/std/encoding/yaml/dumper/dumper_state.ts";
Properties
do not throw on invalid types (like function in the safe schema) and skip pairs and single values with such types.
specifies level of nesting, when to switch from block to flow style for collections. -1 means block style everwhere
optional
styles: ArrayObject<StyleVariant> | nullEach tag may have own set of styles. - "tag" => "style" map.
optional
schema: SchemaDefinitionspecifies a schema to use.
if true, sort keys when dumping YAML. If a function, use the function to sort the keys. (default: false)
if true don't try to be compatible with older yaml versions. Currently: don't quote "yes", "no" and so on, as required for YAML 1.1 (default: false)