sha256 ad65aeaf5b319ec56cdf352a70dfffd30d16f092ffba4735f112cb84b770abd4
%TAG !TAG2! tag:yaml.org,2002:
---
# c1
"base": &m1
# c2
"b0": -4
# c3
"item":
# c4
<<:
# c5
- *m1
# c6
- !TAG2!set
# c7
"c0": +9
# c8
"c1": -4
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-handle presentation/comment-above presentation/document-marker presentation/number-signed presentation/plain presentation/quoted-double presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":-4},"item":{"\u003c\u003c":[{"b0":-4},{"c0":9,"c1":-4}]}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml libfyaml
{"base":{"b0":-4},"item":{"\u003c\u003c":[{"b0":-4},{"c0":9,"c1":-4}]}}yaml.v3 yamlstar
{"base":{"b0":-4},"item":{"b0":-4,"c0":9,"c1":-4}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | accepted accept | different, explained | n/i | value: merge-key-applied: the loader applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key | |
| yaml.v3 | accepted accept | different, explained | same | value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.