sha256 3a76754a0a855f9885d5c401ea4cb970aa0902d1b3a4ced8a852b400f13a920d
%YAML 1.1 --- # c1 "- a": # c2 # c3 : .nan # c4
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| representation/float-non-finite | open from construct on: each parser's stance decides |
| features | break/crlf presentation/comment-above presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-double presentation/yaml-directive value/float value/float-special value/mapping value/non-string-key value/null |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
libfyaml yamlstar
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | empty-implicit-key: yaml.v3 rejects a block mapping entry that starts with ':', which l-block-map-implicit-entry reads as an empty key: "a: 1\n: 2" rejects the document | yaml.v3: yaml: line 3: did not find expected key |
| 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 | [6:3] JSON has no number for .nan |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.