generated/1228

sha256 28b3a288e6d90ffdab81f17df66ff6cbb5ceb9959071df54dcf1a4e930bf1714

Document

---
&a2
!!str '&a': True # c1
"\U00000312\U00000009\U0000005D\U00000356\U0000007F\U0000000C\U00000023\U0000009D": # c2
   &a1 <<: !!map # c3
      'merged0': 0 # c4
   True: # c5

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/anchor node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/escape-long presentation/plain presentation/quoted-double presentation/quoted-single value/bool value/int value/mapping value/merge-key value/non-string-key value/null
meaning (yaml-1.2-core){"\u0026a":true,"̒\t]͖\f#":{"\u003c\u003c":{"merged0":0},"true":null}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"\u0026a":true,"̒\t]͖\f#":{"\u003c\u003c":{"merged0":0},"true":null}}

yaml.v3

yamlstar

{"\u0026a":true,"7869938541271235157":{"merged0":0,"true":null}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept different, explained n/i value: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597"
yaml.v3 accepted accept different, explained same 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.