sha256 c8353790ccc8b0e7d3c6c1ee5a353c67156f794273b6ab5af2addecc3c38eb9c
%YAML 1.1
---
!foo
# c1
-
# c2
!!merge &a2 <<:
&a3
# c3
', a': 7
# c4
', a': &a1 Null
# c5
'-1_0': Null
# c6
- !!null Null
# c7
- *a1
# c8
- -271
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-local node/tag-shorthand presentation/comment-above presentation/document-marker presentation/plain presentation/property-line presentation/quoted-single presentation/tag-before-anchor presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (yaml-1.2-core) | [{", a":null,"-1_0":null},null,null,-271] |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml libfyaml yaml.v3
[{", a":null,"-1_0":null},null,null,-271]
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | ok | n/i | ||
| 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 | same | ||
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.