sha256 021bfa79e0212201f5e2f4b0f350ada5229409796782baec1c1abb87d1829357
%TAG !x! tag:yaml.org,2002:
---
# c1
&a4 <<: # c2
# c3
'merged0': 3 # c4
# c5
'0': &a1 # c6
# c7
- # c8
# c9
- !x!float .inf # c10
# c11
- # c12
# c13
' both ': -1 # c14
# c15
- # c16
# c17
- false # c18
# c19
!foo '5. .xQA 3': .nan # c20
# c21
"\_\a\"'Ѓ,九\ \\Ͷ&": !x!null &a2 # c22
# c23
&a3 "🌮\n>\"Ⱥ丷\0": .inf # c24
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| representation/float-non-finite | open from construct on: each parser's stance decides |
| features | node/anchor node/tag-handle node/tag-local presentation/comment-above presentation/comment-inline presentation/document-marker presentation/escape-named presentation/plain presentation/quoted-double presentation/quoted-single presentation/tag-before-anchor presentation/tag-directive value/bool value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (none stated) | |
go-yaml yamlstar
refuse by the loader
libfyaml perlref yaml.v3
accept
libfyaml yaml.v3
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| 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: !foo |
| yaml.v3 | accepted accept | not scored | differentdocument 0written " \a\"'Ѓ,九 \\Ͷ&": null
? "\U0001F32E\n>\"Ⱥ丷\0"
: .inf
"0":
- - .inf
- ' both ': -1
- null
- false
5. .xQA 3: .nan
merged0: 3
read back map[string]interface {}{"0":[]interface {}{[]interface {}{+Inf}, map[string]interface {}{" both ":-1}, interface {}(nil), false}, "5. .xQA 3":NaN, "merged0":3, "\ue052\u00a0\a\"'Ѓ,九 \\Ͷ&":interface {}(nil), "🌮\n>\"Ⱥ\ue0a0丷\ue019\x00":+Inf} |
||
| 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] JSON has no number for .inf |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.