sha256 99574e6d6d6b0dbc90cdc167d79959b80c2c4926eaf167b1aa0e46642a465e88
--- # c1 '': [] # c2 # c3 ' ': TRUE # c4 # c5 +2: [] # c6 # c7 ? ! # c8 'Be4.o:23:- 0': +18 # c9 : &a1 null # c10
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| features | break/crlf node/anchor node/tag-non-specific presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/number-signed presentation/plain presentation/quoted-single value/bool 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
{"":[]," ":true,"2":[],"{\"Be4.o:23:- 0\" 18}":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: '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 {}{"Be4.o:23:- 0":18} |
| 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 | [12:16] a mapping cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.