sha256 9ac6766b15297657b5b89448bebdf5e77813f52e6bef0dcbaafe4b7bb89830bf
# c1
base: &m1 # c2
# c3
b0: -6 # c4
# c5
b1: 2 # c6
# c7
item: # c8
# c9
&k1 <<: &m2 # c10
# c11
c0: -2 # c12
# c13
c1: -2 # c14
# c15
d0: 0 # c16
# c17
d1: -8 # c18
# c19
again: *m2 # c20
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor presentation/comment-above presentation/comment-inline presentation/plain value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"again":{"c0":-2,"c1":-2},"base":{"b0":-6,"b1":2},"item":{"\u003c\u003c":{"c0":-2,"c1":-2},"d0":0,"d1":-8}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml libfyaml
{"again":{"c0":-2,"c1":-2},"base":{"b0":-6,"b1":2},"item":{"\u003c\u003c":{"c0":-2,"c1":-2},"d0":0,"d1":-8}}yaml.v3 yamlstar
{"again":{"c0":-2,"c1":-2},"base":{"b0":-6,"b1":2},"item":{"c0":-2,"c1":-2,"d0":0,"d1":-8}}
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.