sha256 9e5987787582d309187b0227bcb2728f741fdf44c9bd256abdb2c02702b5f94e
%TAG !e! tag:yaml.org,2002:
---
base: &m1 # c1
b0: 4 # c2
b1: -4 # c3
b2: 7 # c4
item: # c5
<<: !e!seq # c6
- # c7
c0: 4 # c8
- *m1 # c9
d0: 0 # c10
d1: !e!int 1 # c11
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/plain presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":4,"b1":-4,"b2":7},"item":{"\u003c\u003c":[{"c0":4},{"b0":4,"b1":-4,"b2":7}],"d0":0,"d1":1}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml libfyaml
{"base":{"b0":4,"b1":-4,"b2":7},"item":{"\u003c\u003c":[{"c0":4},{"b0":4,"b1":-4,"b2":7}],"d0":0,"d1":1}}yaml.v3 yamlstar
{"base":{"b0":4,"b1":-4,"b2":7},"item":{"b0":4,"b1":-4,"b2":7,"c0":4,"d0":0,"d1":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.