sha256 92b24edef81184a981861afa204d3caf5264e6494ce5a41f75cd4b925b232cf7
# c1 !!str 'base': &m4 # c2 'o9': 2 # c3 'o': !!omap # c4 - # c5 <<: *m4 # c6 - # c7 'o0': 3 # c8 - # c9 'o1': 3 # c10 - # c11 'o2': 4 # c12 - # c13 'o8': *m4 # c14 'p': !!pairs # c15 - # c16 'p0': 1 # c17 - # c18 'p0': 2
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | node/alias node/anchor node/tag-shorthand presentation/comment-above presentation/plain presentation/quoted-single value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"o9":2},"o":{"\u003c\u003c":{"o9":2},"o0":3,"o1":3,"o2":4,"o8":{"o9":2}},"p":[{"p0":1},{"p0":2}]} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"base":{"o9":2},"o":{"\u003c\u003c":{"o9":2},"o0":3,"o1":3,"o2":4,"o8":{"o9":2}},"p":[{"p0":1},{"p0":2}]}libfyaml
{"base":{"o9":2},"o":[{"\u003c\u003c":{"o9":2}},{"o0":3},{"o1":3},{"o2":4},{"o8":{"o9":2}}],"p":[{"p0":1},{"p0":2}]}yaml.v3 yamlstar
{"base":{"o9":2},"o":[{"o9":2},{"o0":3},{"o1":3},{"o2":4},{"o8":{"o9":2}}],"p":[{"p0":1},{"p0":2}]}
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: ordered-map-as-sequence: the Python binding has no ordered map, and returns !!omap as a sequence of one-pair mappings | |
| 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.