sha256 194165dcb66c70825e4904dae8ddbdeebaba3f909173a524ff68d60c4d38db9d
%TAG !e! tag:yaml.org,2002:
---
# c1
"base": &m4
# c2
"o9": -5
# c3
!e!str "o": !e!omap &m3
# c4
-
# c5
<<:
# c6
"o9": 7
# c7
-
# c8
"o0": 0
# c9
-
# c10
"o8": *m4
# c11
"again": *m3
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-handle presentation/comment-above presentation/document-marker presentation/plain presentation/quoted-double 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":7},"o0":0,"o8":{"o9":-5}},"base":{"o9":-5},"o":{"\u003c\u003c":{"o9":7},"o0":0,"o8":{"o9":-5}}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"\u003c\u003c":{"o9":7},"o0":0,"o8":{"o9":-5}},"base":{"o9":-5},"o":{"\u003c\u003c":{"o9":7},"o0":0,"o8":{"o9":-5}}}libfyaml
{"again":{"o9":7},"base":{"o9":-5},"o":[{"\u003c\u003c":{"o9":7}},{"o0":0},{"o8":{"o9":-5}}]}yaml.v3 yamlstar
{"again":[{"o9":7},{"o0":0},{"o8":{"o9":-5}}],"base":{"o9":-5},"o":[{"o9":7},{"o0":0},{"o8":{"o9":-5}}]}
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.