generated/2700

sha256 d3dde6948002400b98aaa2b7810d9e6cd569a810fc7eaf2414463d90138fc374

Document

%YAML 1.1
---
<<: # c1
   &a2
   - # c2
      'merged0': 3 # c3
   - # c4
      'merged1': -3 # c5
&a1 "\u0061\u000A\u0062": *a1 # c6

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor presentation/comment-inline presentation/document-marker presentation/escape-unicode presentation/plain presentation/property-line presentation/quoted-double presentation/quoted-single presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"a\nb":"a\nb","merged0":3,"merged1":-3}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml yaml.v3

{"a\nb":"a\nb","merged0":3,"merged1":-3}

yamlstar

{"971098":"971098","merged0":3,"merged1":-3}

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 ok same
go-yaml accepted accept ok same

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