Homepage: https://github.com/zkry/yaml.el
Author: Zachary Romero
Updated:
YAML parser for Elisp
yaml.el contains the code for parsing YAML natively in Elisp with
no dependencies. The main function to parse YAML provided is
`yaml-parse-string'. `yaml-encode' is also provided to encode a
Lisp object to YAML. The following are some examples of its usage:
(yaml-parse-string "key1: value1\nkey2: value2")
(yaml-parse-string "key1: value1\nkey2: value2" :object-type 'alist)
(yaml-parse-string "numbers: [1, 2, 3]" :sequence-type 'list)
(yaml-encode '((count . 3) (value . 10) (items ("ruby" "diamond"))))