sha256 813a0a19bebed47fe3ae5579d0cb2580772ee028162ebbd0a157fdf5391e9f9e
? base
: &m4
? o9
: -9
? o
: !<tag:yaml.org,2002:omap>
-
? o0
: 1
-
? o8
: *m4
? p
: !<tag:yaml.org,2002:pairs>
-
? p0
: 1
-
? p0
: 2
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/explicit-key presentation/plain value/int value/mapping value/sequence |
| meaning (yaml-1.2-core) | {"base":{"o9":-9},"o":{"o0":1,"o8":{"o9":-9}},"p":[{"p0":1},{"p0":2}]} |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml
{"base":{"o9":-9},"o":{"o0":1,"o8":{"o9":-9}},"p":[{"p0":1},{"p0":2}]}libfyaml yaml.v3
{"base":{"o9":-9},"o":[{"o0":1},{"o8":{"o9":-9}}],"p":[{"p0":1},{"p0":2}]}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | |
| 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 | rejected, explained refuse by the parser | rejected, explained | n/i | bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document |
Error: parse: Parser finished before end of input |
| 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.