sha256 ba4176ba12e2d1b103d20c4f78b2ddb5d996dc48ea7eff8dbcaef94d00cf2398
# c1
o: &m3 !!omap # c2
# c3
- # c4
# c5
o0: 0o2 # c6
# c7
again: *m3 # c8
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | break/crlf node/alias node/anchor node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/number-octal presentation/plain value/int value/mapping value/sequence |
| meaning (yaml-1.2-core) | {"again":{"o0":2},"o":{"o0":2}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"o0":2},"o":{"o0":2}}libfyaml
{"again":{"o0":2},"o":[{"o0":2}]}yaml.v3
{"again":[{"o0":2}],"o":[{"o0":2}]}yamlstar
{"again":[{"o0":"0o2"}],"o":[{"o0":"0o2"}]}
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: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15 | |
| 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.