sha256 e1b1985fdefdd6da8051f1bafe58ac324a79eaf439591e6be7ad283ffab8d4c9
---
&a4 {<<: {"merged0": 7}, "`a": {!<tag:yaml.org,2002:merge> <<: {"merged3": -7}, "R m": &a2 [&a1 ""], !<tag:yaml.org,2002:str> "h": &a3 false, {"-a": 91}: .inf}} # c1
| 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 | encoding/byte-order-mark node/anchor node/tag-verbatim presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-double value/bool value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml yaml.v3 yamlstar
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref
accept
No source answered.
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 | 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: tag:yaml.org,2002:merge |
| yaml.v3 | rejected, explained refuse by the loader | not scored | refused | collection-key: yaml.v3 decodes a mapping into a Go map, and a Go map cannot take a sequence or a mapping as a key: "? [1, 2]" rejects the document | yaml.v3: yaml: invalid map key: map[string]interface {}{"-a":91} |
| 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 | a mapping entry holds one value, and this document reads as two |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.