sha256 e1ff16968fe8331c1a39bf0598e0274c826ff27fc7be230c8f20a3934c515216
# c1
- &a4 # c2
# c3
?
# c4
'a---b': -42 # c5
: # c6
# c7
- &a3 # c8
# c9
- # c10
# c11
'S5B-:8W#': &a1 |-
U
# c12
- -2.0030366592109203e+00 # c13
# c14
- !<tag:yaml.org,2002:null> # c15
# c16
- !<tag:yaml.org,2002:null> &a2 # c17
# c18
- -98 # c19
# c20
- # c21
# c22
!<!foo> '685_230.15': 6 # c23
# c24
- *a2 # c25
# c26
- # c27
# c28
- !<tag:yaml.org,2002:set> {} # c29
# c30
- &a5 "\u0007🌂𐀁#𐀃ͥ " # c31
# c32
- *a3 # c33
# c34
- *a4 # c35
...
false # c36
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/block-literal presentation/comment-above presentation/comment-inline presentation/document-suffix presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/multi-document presentation/number-exponent presentation/plain presentation/quoted-double presentation/quoted-single presentation/tag-before-anchor value/bool value/empty-collection value/float value/int value/mapping value/non-string-key value/null value/sequence value/string |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
refuse by the parser
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | |
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'mapping' | |
| yamlstar | rejected, explained refuse by the parser | not scored | n/i | bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | Error: parse: Parser finished before end of input |
| 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 {}{"a---b":-42} |
| 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 | [4:2] a mapping cannot be a key in a Go map |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.