sha256 1b6ccef3b9483e38ca91169532a82db5038989f723c47c91dd68d7d44539d1b6
!<tag:yaml.org,2002:pairs> [0.0000000000000000000000000000000000000000000000000000000000000001129916816521053, {!<tag:yaml.org,2002:map> {"\U00000020": -2}: !<tag:yaml.org,2002:float> -.inf}] # c1
| 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 node/tag-verbatim presentation/comment-inline presentation/escape-long presentation/flow-collection presentation/plain presentation/quoted-double value/float value/float-special value/mapping value/non-string-key value/sequence |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yamlstar
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 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 {}{" ":-2} |
| 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 | [1:185] JSON has no number for -.inf |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.