generated/1192

sha256 1d9eb470d7f4d2daad360930c86a25e7ec6c3bdf7c51c257e8fe9721d7830707

Document

---
!!map
<<: &a1 # c1
      'merged3': 0o7 # c2
'true': !!null Null # c3

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/anchor node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/number-octal presentation/plain presentation/quoted-single value/int value/mapping value/merge-key value/non-string-key value/null
meaning (yaml-1.2-core){"\u003c\u003c":{"merged3":7},"true":null}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"\u003c\u003c":{"merged3":7},"true":null}

yaml.v3

{"merged3":7,"true":null}

yamlstar

{"merged3":"0o7","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: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15
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.