sha256 fafc43b2d71a1e531f8fb2c1ffa4318a780d6e266eeb26a97e680842c133e8fe
%TAG !n-1! tag:yaml.org,2002:
---
!foo {o: !n-1!omap [o0: -2, o1: 06]} # c1
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | node/tag-handle node/tag-local presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/tab-separation presentation/tag-directive value/int value/mapping value/sequence |
| meaning (yaml-1.2-core) | {"o":{"o0":-2,"o1":6}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"o":{"o0":-2,"o1":6}}libfyaml yaml.v3 yamlstar
{"o":[{"o0":-2},{"o1":6}]}
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.