sha256 9e9b8fb24df8d0df05c42c89179acbbab00f20c6c5716102764064344fbf669c
# c1
base:
&m1
# c2
b0: -3
# c3
b1: 3
# c4
item:
# c5
!!merge <<:
!!map
# c6
c0: 0
# c7
c1: 5
# c8
d0: 4
...
!!null
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | encoding/byte-order-mark node/anchor node/tag-shorthand presentation/comment-above presentation/document-suffix presentation/multi-document presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key value/null |
| meaning (none stated) | |
go-yaml libfyaml
accept
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml
{"base":{"b0":-3,"b1":3},"item":{"c0":0,"c1":5,"d0":4}}
nulllibfyaml
{"base":{"b0":-3,"b1":3},"item":{"\u003c\u003c":{"c0":0,"c1":5},"d0":4}}
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, explained refuse by the parser | not scored | refused | bare-document-after-end: yaml.v3 requires a "---" before every document after the first, so a bare document after a "..." end marker rejects the stream | yaml.v3: yaml: line 19: did not find expected <document start> |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.