sha256 f20ea7135809a6a99e27f6afe0e3bb000530deb650fbde76b39c2a7a9c056791
---
'base': &m4 # c1
'o9': -2 # c2
'o': &m3 !!omap # c3
- # c4
'o0': -2 # c5
- # c6
'o1': +0 # c7
- # c8
'o2': +0 # c9
- # c10
'o8': *m4 # c11
'again': *m3 # c12
'p': !!pairs # c13
- # c14
'p0': +1 # c15
- # c16
'p0': +2 # c17
| 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-shorthand presentation/comment-inline presentation/document-marker presentation/number-signed presentation/plain presentation/quoted-single value/int value/mapping value/sequence |
| meaning (yaml-1.2-core) | {"again":{"o0":-2,"o1":0,"o2":0,"o8":{"o9":-2}},"base":{"o9":-2},"o":{"o0":-2,"o1":0,"o2":0,"o8":{"o9":-2}},"p":[{"p0":1},{"p0":2}]} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"o0":-2,"o1":0,"o2":0,"o8":{"o9":-2}},"base":{"o9":-2},"o":{"o0":-2,"o1":0,"o2":0,"o8":{"o9":-2}},"p":[{"p0":1},{"p0":2}]}libfyaml
{"again":{"o0":-2},"base":{"o9":-2},"o":[{"o0":-2},{"o1":0},{"o2":0},{"o8":{"o9":-2}}],"p":[{"p0":1},{"p0":2}]}yaml.v3 yamlstar
{"again":[{"o0":-2},{"o1":0},{"o2":0},{"o8":{"o9":-2}}],"base":{"o9":-2},"o":[{"o0":-2},{"o1":0},{"o2":0},{"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: ordered-map-as-sequence: the loader has no ordered map, and builds !!omap as a sequence of one-pair mappings | |
| yaml.v3 | accepted accept | different, explained | same | value: ordered-map-as-sequence: yaml.v3 has no ordered map, and decodes !!omap as a sequence of one-pair mappings | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.