sha256 65d761ea161e773ec070d43dc15847eb98d873d2b6cf313fc532865080d107ba
%YAML 1.2 %TAG !n-1! tag:yaml.org,2002: --- # c1 ? ! base : &m1 # c2 # c3 ? b0 : -1 # c4 # c5 ? b1 : -8 # c6 # c7 ? b2 : -2 # c8 # c9 ? item : # c10 # c11 ? !n-1!merge &k1 << : *m1 # c12 # c13 ? ! d0 : 3 # c14 # c15 ? d1 : -9 # c16 # c17 ? b0 : 99 # c18
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-handle node/tag-non-specific presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/plain presentation/tag-before-anchor presentation/tag-directive presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"base":{"b0":-1,"b1":-8,"b2":-2},"item":{"b0":99,"b1":-8,"b2":-2,"d0":3,"d1":-9}} |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"base":{"b0":-1,"b1":-8,"b2":-2},"item":{"b0":99,"b1":-8,"b2":-2,"d0":3,"d1":-9}}libfyaml
{"base":{"b0":-1,"b1":-8,"b2":-2},"item":{"\u003c\u003c":{"b0":-1,"b1":-8,"b2":-2},"b0":99,"d0":3,"d1":-9}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | different, explained | n/i | value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key | |
| yamlstar | rejected, explained refuse by the loader | rejected, explained | n/i | tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" value: tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" |
Error: Unknown tag: tag:yaml.org,2002:merge |
| yaml.v3 | rejected, explained refuse by the parser | rejected, explained | refused | yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document |
yaml.v3: yaml: found incompatible YAML document |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.