Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Latest commit

 

History

History
15 lines (9 loc) · 354 Bytes

from-yaml.md

File metadata and controls

15 lines (9 loc) · 354 Bytes

from-yaml

This function decodes a YAML string into a Go datastructure.

Examples

  • (from-yaml "foo: 23"){"foo" 23}
  • (from-yaml "~")null

Forms

(from-yaml markup:string)any

This is the only form of this function. It decodes a YAML string and returns the result. If invalid YAML is provided, an error is thrown.