sha256 08493aa6185e528b85360b4d8c05375da126c662372068bd9e4984219e7f1986
---
!!seq
# c1
- &a3
# c2
- &a1 !!bool True
# c3
-
# c4
-
# c5
? !!merge <<
: !!seq
# c6
-
# c7
? ' '
: 3
# c8
-
# c9
? ' '
: -2
# c10
? ' '
:
# c11
? '+0b11'
: 1.0
# c12
-
# c13
? ''
: &a2 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000876019146229867
# c14
-
# c15
? &a4 ' '
: &a5 False
# c16
- !!bool False
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | encoding/byte-order-mark node/anchor node/tag-shorthand presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-single value/bool value/float value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (yaml-1.2-core) | [[true,null,{" ":null,"+0b11":1},{"":8.76019146229867e-185}],{" ":false},false] |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml yaml.v3
[[true,null,{" ":null,"+0b11":1},{"":0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000876019146229867}],{" ":false},false]libfyaml
[[true,null,{" ":null,"+0b11":1,"\u003c\u003c":[{" ":3},{" ":-2}]},{"":0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000876019146229867}],{" ":false},false]
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | different, explained | n/i | value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key | |
| yamlstar | rejected, explained refuse by the loader | rejected, explained | 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" value: 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: tag:yaml.org,2002:merge |
| yaml.v3 | accepted accept | ok | differentdocument 0written - - true
- null
- ' ': null
"+0b11": 1
- "": 8.76019146229867e-185
- ' ': false
- false
read back [[true,null,{" ":null,"+0b11":1},{"":8.76019146229867e-185}],{" ":false},false] |
||
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.