sha256 7c80ee36d6accf21ef2b1e2ca8701e32dd9dfce18c7271a9ebbcfb9f727841de
# c1
<<: # c2
!<tag:yaml.org,2002:map>
# c3
"a: b": -1 # c4
# c5
!<tag:yaml.org,2002:str> "": NULL # c6
# c7
"a: b": NULL # c8
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | break/crlf encoding/byte-order-mark node/tag-verbatim presentation/comment-above presentation/comment-inline presentation/plain presentation/property-line presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key value/null |
| meaning (yaml-1.2-core) | {"":null,"\u003c\u003c":{"a: b":-1},"a: b":null} |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml libfyaml
{"":null,"\u003c\u003c":{"a: b":-1},"a: b":null}yaml.v3
{"":null,"a: b":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 | ok | n/i | ||
| 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: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.