sha256 fb2c0033880fb518278556cfaddfd694ef072be3df17d953e287a3efa2ab81c0
# c1
"base": &m4
# c2
"o9": -4
# c3
"o": &m3 !<tag:yaml.org,2002:omap>
# c4
-
# c5
"o0": 0o6
# c6
-
# c7
"o1": -3
# c8
-
# c9
"o2": -2
# c10
-
# c11
"o8": *m4
# c12
"again": *m3
# c13
"p": !<tag:yaml.org,2002:pairs>
# c14
-
# c15
"p0": 0o1
# c16
-
# c17
"p0": 0o2
| 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-verbatim presentation/comment-above presentation/number-octal presentation/plain presentation/quoted-double value/int value/mapping value/sequence |
| meaning (yaml-1.2-core) | {"again":{"o0":6,"o1":-3,"o2":-2,"o8":{"o9":-4}},"base":{"o9":-4},"o":{"o0":6,"o1":-3,"o2":-2,"o8":{"o9":-4}},"p":[{"p0":1},{"p0":2}]} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"again":{"o0":6,"o1":-3,"o2":-2,"o8":{"o9":-4}},"base":{"o9":-4},"o":{"o0":6,"o1":-3,"o2":-2,"o8":{"o9":-4}},"p":[{"p0":1},{"p0":2}]}libfyaml
{"again":{"o0":6},"base":{"o9":-4},"o":[{"o0":6},{"o1":-3},{"o2":-2},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}]}yaml.v3
{"again":[{"o0":6},{"o1":-3},{"o2":-2},{"o8":{"o9":-4}}],"base":{"o9":-4},"o":[{"o0":6},{"o1":-3},{"o2":-2},{"o8":{"o9":-4}}],"p":[{"p0":1},{"p0":2}]}yamlstar
{"again":[{"o0":"0o6"},{"o1":-3},{"o2":-2},{"o8":{"o9":-4}}],"base":{"o9":-4},"o":[{"o0":"0o6"},{"o1":-3},{"o2":-2},{"o8":{"o9":-4}}],"p":[{"p0":"0o1"},{"p0":"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.