sha256 0fad6310b09343597d9663b86b25e2a8e16582b105ddbb8ebf82e20749ba0fa5
---
? "'a"
: NULL # c1
?
&a1 !
- >6-
6xr
: !!map # c2
? <<
: &a2 # c3
- # c4
? merged1
: -1 # c5
- # c6
? merged3
: -3 # c7
? 0.0000004531999068613996
: NULL # c8
? !foo zHi
: !!null NULL # c9
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| features | node/anchor node/tag-local node/tag-non-specific node/tag-shorthand presentation/block-folded presentation/block-indicator presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| 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: 'sequence' | |
| 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 | 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: []interface {}{"6xr"} |
| 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:7] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.