sha256 ff5b8d58d92999bb720b39bd45d9a6cdbf79ad1b59d05116be030c02a29596a7
%YAML 1.1
---
# c1
'*a': 0x32f # c2
# c3
'? a': !!null null # c4
# c5
'@a': !!null null # c6
# c7
'ÁȺ': &a1 true # c8
# c9
*a1 : >2-
aliased
# c10
?
# c11
- >2-
*a
: >2-
dup
# c12
?
# c13
- >2-
*a
: >2-
dup2
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| key/duplicate | reject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-shorthand presentation/block-folded presentation/block-indicator presentation/chomp-padded presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/number-hex presentation/plain presentation/quoted-single presentation/yaml-directive value/bool value/int value/mapping value/non-string-key value/null value/string |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yamlstar
{"*a":"0x32f","? a":null,"@a":null,"[\"*a\"]":"dup2","true":"aliased","ÁȺ":true}
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 | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | yaml.v3: yaml: unmarshal errors: |
| go-yaml | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | [19:3] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.