sha256 9121a1ab6b09f848a59fb3d68d8f8b95da594ad4b20856a19ae8ab8a24bf97c9
"base": # c1
&m4
"o9": -5 # c2
"o": # c3
!!omap
- # c4
"o0": 01 # c5
- # c6
"o8": *m4 # c7
| 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-inline presentation/plain presentation/property-line presentation/quoted-double presentation/tab-separation value/int value/mapping value/sequence |
| meaning (yaml-1.2-core) | {"base":{"o9":-5},"o":{"o0":1,"o8":{"o9":-5}}} |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml
{"base":{"o9":-5},"o":{"o0":1,"o8":{"o9":-5}}}libfyaml yamlstar
{"base":{"o9":-5},"o":[{"o0":1},{"o8":{"o9":-5}}]}
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 | rejected, explained refuse by the parser | rejected, explained | refused | tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document |
yaml.v3: yaml: line 6: found character that cannot start any token |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.