sha256 561dde2ef91d88e85420610142e60589212318afbe7265226e2cb8d910999125
%YAML 1.2
---
?
"\n": 0x16
: NULL
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| features | break/crlf presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/number-hex presentation/plain presentation/quoted-double presentation/tab-separation presentation/yaml-directive value/mapping value/non-string-key value/null |
| 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
{"{\"\\n\" \"0x16\"}":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 | yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document | yaml.v3: yaml: found incompatible YAML document |
| 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 | [4:11] a mapping cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.