sha256 a234b60c30f2e85bae08b6ecc329b91c50895c13e55a2ab36a89b9fa1f085645
%TAG !x! tag:yaml.org,2002:
---
{base: &m1 {b0: 0, b1: 9}, !foo item: {!x!merge &k1 <<: *m1, b0: 99}}
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-handle node/tag-local presentation/document-marker presentation/flow-collection presentation/plain presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"base":{"b0":0,"b1":9},"item":{"b0":99,"b1":9}} |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml yaml.v3
{"base":{"b0":0,"b1":9},"item":{"b0":99,"b1":9}}libfyaml
{"base":{"b0":0,"b1":9},"item":{"\u003c\u003c":{"b0":0,"b1":9},"b0":99}}
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: !foo |
| yaml.v3 | accepted accept | ok | differentdocument 0written base:
b0: 0
b1: 9
item:
b0: 99
b1: 9
read back {"base":{"b0":0,"b1":9},"item":{"b0":99,"b1":9}} |
||
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.