sha256 b57086ae2973b6f54b57e56ecdb99c0bbad70bdc2cf110126fcde62a5b0fb551
%TAG !x! tag:yaml.org,2002:
---
{'base': &m4 {'o9': 6}, ! 'o': !x!omap &m3 [{'o0': -2}, {'o8': *m4}], 'again': *m3, 'p': !x!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 node/tag-non-specific presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-single presentation/tab-separation presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"again":{"o0":-2,"o8":{"o9":6}},"base":{"o9":6},"o":{"o0":-2,"o8":{"o9":6}},"p":[{"p0":1},{"p0":2}]} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"o0":-2,"o8":{"o9":6}},"base":{"o9":6},"o":{"o0":-2,"o8":{"o9":6}},"p":[{"p0":1},{"p0":2}]}libfyaml
{"again":{"o0":-2},"base":{"o9":6},"o":[{"o0":-2},{"o8":{"o9":6}}],"p":[{"p0":1},{"p0":2}]}yaml.v3 yamlstar
{"again":[{"o0":-2},{"o8":{"o9":6}}],"base":{"o9":6},"o":[{"o0":-2},{"o8":{"o9":6}}],"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.