libyaml binding for Emacs Lisp.
- Emacs 25 or higher(configured with
--with-modules
) - libyaml
Parse string
and return Emacs Lisp objects.
Read YAML file and return Emacs Lisp objects.
Dump Emacs Lisp object to YAML string.
YAML | Emacs Lisp |
---|---|
123 | integer |
123.4 | float |
"123" | string |
t, On, Yes, TRUE | t : symbol |
n, No, Off, False | nil : symbol |
- aaa - bbb |
vector |
name: Foo year: 19 |
hash-table |