sha256 bdd78c37c7433e4b2fe860d74c5bbc6c1164383676bcb8d32b665255d68661bf
'base': # c1 &m1 'b0': -4 # c2 'b1': -1 # c3 'item': # c4 !foo <<: *m1 # c5
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-local presentation/comment-inline presentation/plain presentation/property-line presentation/quoted-single value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"base":{"b0":-4,"b1":-1},"item":{"\u003c\u003c":{"b0":-4,"b1":-1}}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml libfyaml
{"base":{"b0":-4,"b1":-1},"item":{"\u003c\u003c":{"b0":-4,"b1":-1}}}yaml.v3 yamlstar
{"base":{"b0":-4,"b1":-1},"item":{"b0":-4,"b1":-1}}
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.