sha256 69fac644c4f9adc2a6f3bd9123735752761a27ef2d2967bd9f4c48d3d72a2f79
---
!foo {o: &m3 !!omap [o0: -9, o1: -3, o2: 0], again: *m3, s: !!set {s0, s1, s2}}
| 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-local node/tag-shorthand presentation/document-marker presentation/flow-collection presentation/flow-key-alone presentation/flow-pair presentation/plain value/int value/mapping value/null value/sequence |
| meaning (yaml-1.2-core) | {"again":{"o0":-9,"o1":-3,"o2":0},"o":{"o0":-9,"o1":-3,"o2":0},"s":{"s0":null,"s1":null,"s2":null}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"o0":-9,"o1":-3,"o2":0},"o":{"o0":-9,"o1":-3,"o2":0},"s":{"s0":null,"s1":null,"s2":null}}libfyaml
{"again":{"o0":-9},"o":[{"o0":-9},{"o1":-3},{"o2":0}],"s":{"s0":null,"s1":null,"s2":null}}yaml.v3 yamlstar
{"again":[{"o0":-9},{"o1":-3},{"o2":0}],"o":[{"o0":-9},{"o1":-3},{"o2":0}],"s":{"s0":null,"s1":null,"s2":null}}
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.