Handbook
Glossary
>yaml ( obj -- str )
YAML serialization
Next:
>yaml-docs ( seq -- str )
Vocabulary
yaml
Inputs
obj
an
object
Outputs
str
a
string
Word description
Serializes the object into a YAML formatted string with one document representing the object.
See also
>yaml-docs
Definition
USING:
destructors
kernel
yaml.private
;
IN:
yaml
:
>yaml
( obj -- str )
[
[
init-emitter
]
dip
[
replace-identities
emit-doc
]
[
drop
flush-emitter
]
3bi
]
with-destructors
;