sha256 f8911dfcb1bc7a8d66165f4b6bd55a07cd99826398808593015c4fa392ad07d9
%YAML 1.1 --- ~ # c1 --- !<tag:yaml.org,2002:str> "\u0026\u0061": [] # c2 ? - "\u0020\u004F\u0023\u002E" # c3 : ~ # c4 !<tag:yaml.org,2002:bool> true: ~ # c5
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/tag-verbatim presentation/comment-inline presentation/document-marker presentation/escape-unicode presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/multi-document presentation/plain presentation/quoted-double presentation/yaml-directive value/empty-collection value/mapping value/non-string-key value/null 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
null
{"3897":[],"[\"32793546\"]":null,"true":null}
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, 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 {}{" O#."} |
| 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:1] a sequence cannot be a key in a Go map |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.