sha256 b2c334154e07d6018c9ea21c8c04089839554eb4f2be755bee20b682b98e29fc
%TAG !n-1! tag:yaml.org,2002:
---
{? ! base: &m4 {? o9: 9}, ? o: !n-1!omap [{? <<: *m4}, {? o0: 5}, {? o1: -4}, {? o2: -4}], ? p: !n-1!pairs [{? p0: 1}, {? p0: 2}], ? s: !n-1!set {? s0: ~}}
| 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-handle node/tag-non-specific presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/plain presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (yaml-1.2-core) | {"base":{"o9":9},"o":{"\u003c\u003c":{"o9":9},"o0":5,"o1":-4,"o2":-4},"p":[{"p0":1},{"p0":2}],"s":{"s0":null}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"base":{"o9":9},"o":{"\u003c\u003c":{"o9":9},"o0":5,"o1":-4,"o2":-4},"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}libfyaml
{"base":{"o9":9},"o":[{"\u003c\u003c":{"o9":9}},{"o0":5},{"o1":-4},{"o2":-4}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}yaml.v3 yamlstar
{"base":{"o9":9},"o":[{"o9":9},{"o0":5},{"o1":-4},{"o2":-4}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}
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.