generated/362

sha256 db53b9c4b6c9b47131f2aec59beabed8a6b3c62550df7f774cc9d501900afea0

Document

---
{'base': &m4 {'o9': -1}, 'o': !<tag:yaml.org,2002:omap> ['o0': 08, 'o8': *m4], 'p': !<tag:yaml.org,2002:pairs> ['p0': 01, 'p0': 02], 's': !<tag:yaml.org,2002:set> {'s0': null}}	# c1

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
representation/ordered-mapopen from construct on: each parser's stance decides
featuresencoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/quoted-single presentation/tab-separation value/int value/mapping value/null value/sequence
meaning (yaml-1.2-core){"base":{"o9":-1},"o":{"o0":8,"o8":{"o9":-1}},"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"base":{"o9":-1},"o":{"o0":8,"o8":{"o9":-1}},"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}

libfyaml yaml.v3 yamlstar

{"base":{"o9":-1},"o":[{"o0":8},{"o8":{"o9":-1}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}

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 different
document 0

written

base:
    o9: -1
o:
    - o0: 8
    - o8:
        o9: -1
p:
    - p0: 1
    - p0: 2
s:
    s0: null

read back

{"base":{"o9":-1},"o":[{"o0":8},{"o8":{"o9":-1}}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}
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.