sha256 8307112c8b9ba40cb0a0ed0cc3b71db2af02f4cff836a169b4e40399528196c2
# c1 o: &m3 !<tag:yaml.org,2002:omap> # c2 - # c3 o0: 5 # c4 - # c5 o1: -4 # c6 - # c7 o2: -9 # c8 o: *m3 # c9 s: !<tag:yaml.org,2002:set> # c10 s0: null # c11 s1: null
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| key/duplicate | reject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node |
| features | encoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/comment-above presentation/plain value/int value/mapping value/null value/sequence |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml
accept
perlref yamlstar
refuse by the parser
libfyaml
{"o":{"o0":5},"s":{"s0":null,"s1":null}}
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 | not scored | n/i | ||
| yamlstar | rejected, explained refuse by the parser | not scored | 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 | Error: parse: Parser finished before end of input |
| yaml.v3 | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | yaml.v3: yaml: unmarshal errors: |
| go-yaml | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | [16:1] mapping key "o" already defined at [2:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.