The following special keys have been implemented for !!map. By default, these keys will be taken into account when deserializing yaml documents. To keep the original document structure, configuration variables can be set. See
YAML control variables .
!!merge See
https://yaml.org/type/merge.html As per
https://sourceforge.net/p/yaml/mailman/message/12308050 , the merge key is implemented bottom up:
USING: yaml prettyprint ;
"
foo: 1
<<:
bar: 2
<<:
baz: 3
" yaml> .H{ { "baz" 3 } { "foo" 1 } { "bar" 2 } }
!!value See
https://yaml.org/type/value.html USING: yaml prettyprint ;
"
--- # Old schema
link with:
- library1.dll
- library2.dll
--- # New schema
link with:
- = : library1.dll
version: 1.2
- = : library2.dll
version: 2.3
" yaml-docs> .{
H{ { "link with" { "library1.dll" "library2.dll" } } }
H{ { "link with" { "library1.dll" "library2.dll" } } }
}
This documentation was generated offline from a
load-all
image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.101 x86.64 (2285, heads/master-efda6dad2f, Nov 20 2024 16:02:37)