sha256 24a6d761dae56575c5c10a92a4795ce0ef0f1ecf60621c87d3ccf10871069218
%YAML 1.1
---
&a3
# c1
- &a1
# c2
- *a1
# c3
-
# c4
!!merge <<: &a2
# c5
no: 01
# c6
-1_0: *a1
# c7
no: !!set
# c8
?
!!set
# c9
"\x31": 07
:
# c10
*a1 : |-
aliased
# c11
- *a2
| 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 |
| features | encoding/byte-order-mark node/alias node/anchor node/tag-shorthand presentation/block-literal presentation/comment-above presentation/document-marker presentation/escape-hex presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/null 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 {}{"1":7} |
| 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.