sha256 8c1b925e688a7a55219d0ef5ef788816b13c78173f1c9e2a5d56b656011966ad
%TAG !e! tag:yaml.org,2002:
---
{? base: &m4 {? o9: -2}, ? o: !e!omap &m3 [<<: *m4, o0: -6, o1: -3], ? again: *m3, ? p: !e!pairs [p0: 1, p0: 2]} # c1
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | break/cr node/alias node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/flow-pair presentation/plain presentation/tab-separation presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"again":{"\u003c\u003c":{"o9":-2},"o0":-6,"o1":-3},"base":{"o9":-2},"o":{"\u003c\u003c":{"o9":-2},"o0":-6,"o1":-3},"p":[{"p0":1},{"p0":2}]} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"\u003c\u003c":{"o9":-2},"o0":-6,"o1":-3},"base":{"o9":-2},"o":{"\u003c\u003c":{"o9":-2},"o0":-6,"o1":-3},"p":[{"p0":1},{"p0":2}]}libfyaml
{"again":{"\u003c\u003c":{"o9":-2}},"base":{"o9":-2},"o":[{"\u003c\u003c":{"o9":-2}},{"o0":-6},{"o1":-3}],"p":[{"p0":1},{"p0":2}]}yaml.v3 yamlstar
{"again":[{"o9":-2},{"o0":-6},{"o1":-3}],"base":{"o9":-2},"o":[{"o9":-2},{"o0":-6},{"o1":-3}],"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.