sha256 31d89d04418e4c4fc37796aa354a70fe63bff3f28048d7bcea582aef9edcb5a4
%YAML 1.1
---
? "trailing\ "
: # c1
- # c2
- # c3
?
? "a:\ b:\ c"
: 0 # c4
: # c5
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| features | break/crlf presentation/comment-inline presentation/document-marker presentation/escape-named presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/tab-separation presentation/yaml-directive value/mapping value/non-string-key value/null value/sequence |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yaml.v3
refuse by the parser
yamlstar
{"trailing ":[[{"{\"a: b: c\" 0}":null}]]}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'mapping' | |
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | 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 | yaml.v3: yaml: line 3: found character that cannot start any token |
| go-yaml | rejected, explained refuse by the loader | not scored | refused | json-cannot-write: codec.ToJSON rejects a value JSON cannot hold: .inf, .nan, a collection as a key; the corpus tags some of these documents json/not-representable and leaves others untagged | [9:5] a mapping cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.