generated/565

sha256 77198857ecb8d50cfadf3ad968db6a72c69d3fff309f4ad7cd7775c69b20c5d1

Document

%TAG !e! tag:yaml.org,2002:
---
!foo
# c1
? "\U00000062\U00000061\U00000073\U00000065"
: &m1 {? "\U00000062\U00000030": 01, ? "\U00000062\U00000031": -1} # c2
# c3
? "\U00000069\U00000074\U00000065\U0000006D"
: {? &k1 <<: !e!map {? "\U00000063\U00000030": 06, ? "\U00000063\U00000031": 08}, ? !foo "\U00000064\U00000030": !e!int 01} # c4

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/anchor node/tag-handle node/tag-local presentation/comment-above presentation/comment-inline presentation/document-marker presentation/escape-long presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-double presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"base":{"b0":1,"b1":-1},"item":{"\u003c\u003c":{"c0":6,"c1":8},"d0":1}}

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml libfyaml

{"base":{"b0":1,"b1":-1},"item":{"\u003c\u003c":{"c0":6,"c1":8},"d0":1}}

yaml.v3

{"base":{"b0":1,"b1":-1},"item":{"c0":6,"c1":8,"d0":1}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
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: !foo
yaml.v3 accepted accept different, explained different
document 0

written

base:
    b0: 1
    b1: -1
item:
    c0: 6
    c1: 8
    d0: 1

read back

{"base":{"b0":1,"b1":-1},"item":{"c0":6,"c1":8,"d0":1}}
value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.