sha256 a2100beca8e719141ac7563280b45dd171539ad89252b5ef4fa931ab0b008a9f
---
# c1
"o": !!omap &m3 [{"o0": 8}] # c2
# c3
"again": *m3 # c4
# c5
"p": !!pairs [{"p0": 1}, {"p0": 2}] # c6
# c7
"s": !!set {"s0": NULL, "s1": NULL} # c8
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | node/alias node/anchor node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-double presentation/tag-before-anchor value/int value/mapping value/null value/sequence |
| meaning (yaml-1.2-core) | {"again":{"o0":8},"o":{"o0":8},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"o0":8},"o":{"o0":8},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}libfyaml
{"again":{"o0":8},"o":[{"o0":8}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}yaml.v3 yamlstar
{"again":[{"o0":8}],"o":[{"o0":8}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":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.