generated/1838

sha256 ddd4be8e63427c77465a2d7b5593091f8554ed4331af8456d2e83962897ddbcd

Document

%YAML 1.1
---
{? "base": &m4 {? "o9": 0}, ? "o": &m3 !!omap [{? "o0": -4}, {? "o8": *m4}], ? "again": *m3}	# c1

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/crlf node/alias node/anchor node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-double presentation/tab-separation presentation/yaml-directive value/int value/mapping value/sequence
meaning (yaml-1.2-core){"again":{"o0":-4,"o8":{"o9":0}},"base":{"o9":0},"o":{"o0":-4,"o8":{"o9":0}}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"again":{"o0":-4,"o8":{"o9":0}},"base":{"o9":0},"o":{"o0":-4,"o8":{"o9":0}}}

libfyaml

{"again":{"o0":-4},"base":{"o9":0},"o":[{"o0":-4},{"o8":{"o9":0}}]}

yaml.v3 yamlstar

{"again":[{"o0":-4},{"o8":{"o9":0}}],"base":{"o9":0},"o":[{"o0":-4},{"o8":{"o9":0}}]}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: ordered-map-as-sequence: the Python binding has no ordered map, and returns !!omap as a sequence of one-pair mappings
yamlstar accepted accept different, explained n/i value: ordered-map-as-sequence: the loader has no ordered map, and builds !!omap as a sequence of one-pair mappings
yaml.v3 accepted accept different, explained same value: ordered-map-as-sequence: yaml.v3 has no ordered map, and decodes !!omap as a sequence of one-pair mappings
go-yaml accepted accept ok same

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