generated/1726

sha256 cfbc188745176f818133f88c9bd492babc7c8897bbdad04e26a2519a96cf9f3c

Document

%TAG !x! tag:yaml.org,2002:
---
{'o': !x!omap ['o0': 3, 'o1': -1, 'o2': -4], ! 'p': !x!pairs ['p0': 1, 'p0': 2]} # c1

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/crlf node/tag-handle node/tag-non-specific presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/quoted-single presentation/tag-directive value/int value/mapping value/non-string-key value/sequence
meaning (yaml-1.2-core){"o":{"o0":3,"o1":-1,"o2":-4},"p":[{"p0":1},{"p0":2}]}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"o":{"o0":3,"o1":-1,"o2":-4},"p":[{"p0":1},{"p0":2}]}

libfyaml yaml.v3 yamlstar

{"o":[{"o0":3},{"o1":-1},{"o2":-4}],"p":[{"p0":1},{"p0":2}]}

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.