sha256 bc128e993537cc677161cefedaa0c54aa6cf5b630286509ca7a1b2adbf166d1a
--- &a2 # c1 !foo '0x_1F': &a1 # c2 '? a': 2 # c3 'o-z': .inf
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| 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 encoding/byte-order-mark node/anchor node/tag-local presentation/comment-above presentation/document-marker presentation/plain presentation/property-line presentation/quoted-single presentation/tab-separation value/float value/float-special value/int value/mapping value/non-string-key |
| meaning (none stated) | |
go-yaml yamlstar
refuse by the loader
libfyaml perlref yaml.v3
accept
libfyaml yaml.v3
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 | rejected, explained refuse by the loader | not scored | n/i | tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" | Error: Unknown tag: !foo |
| yaml.v3 | accepted accept | not scored | differentdocument 0written "0x_1F":
'? a': 2
o-z: .inf
read back map[string]interface {}{"0x_1F":map[string]interface {}{"? a":2}, "o-z":+Inf} |
||
| 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:8] JSON has no number for .inf |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.