sha256 e222490ea0653adf3952e97541509db58640ef05059a0b837931c3c39a31bb47
---
# c1
o: &m3 !!omap [{o0: 00}, {<<: {o9: 07}}, {o1: 00}] # c2
# c3
again: *m3 # c4
# c5
p: !!pairs [{p0: 01}, {p0: 02}] # c6
# c7
s: !!set {s0: , s1: , s2: } # c8
| 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/comment-inline presentation/document-marker presentation/flow-collection presentation/flow-empty-value presentation/plain value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (yaml-1.2-core) | {"again":{"o0":0,"\u003c\u003c":{"o9":7},"o1":0},"o":{"o0":0,"\u003c\u003c":{"o9":7},"o1":0},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"\u003c\u003c":{"o9":7},"o0":0,"o1":0},"o":{"\u003c\u003c":{"o9":7},"o0":0,"o1":0},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}libfyaml
{"again":{"o0":0},"o":[{"o0":0},{"\u003c\u003c":{"o9":7}},{"o1":0}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}yaml.v3 yamlstar
{"again":[{"o0":0},{"o9":7},{"o1":0}],"o":[{"o0":0},{"o9":7},{"o1":0}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":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.