sha256 1734511dc815a988e6f9a783a629152a753c37b26f9bf5dab37b31b58f310a8c
%YAML 1.2
---
"\x62\x61\x73\x65":
&m1
"\x62\x30": -9
"\x69\x74\x65\x6D":
&k1 !<tag:yaml.org,2002:merge> <<: [*m1, {"\x63\x30": !<tag:yaml.org,2002:int> -2}]
! "\x62\x30": !<tag:yaml.org,2002:int> 099
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/document-marker presentation/escape-hex presentation/flow-collection presentation/plain presentation/property-line presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":-9},"item":{"b0":99,"c0":-2}} |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"base":{"b0":-9},"item":{"b0":99,"c0":-2}}libfyaml
{"base":{"b0":-9},"item":{"\u003c\u003c":[{"b0":-9},{"c0":-2}],"b0":99}}
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.