generated/1689

sha256 124b4f4674941a36e716a77de1705204cc53c34ddef931d8b35aab8ef027116a

Document

---
'base': &m4
    'o9': 0o0
'o': !!omap
    -
        'o0': -7
    -
        'o1': -9
    -
        'o8': *m4

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/document-marker presentation/number-octal presentation/plain presentation/quoted-single value/int value/mapping value/sequence
meaning (yaml-1.2-core){"base":{"o9":0},"o":{"o0":-7,"o1":-9,"o8":{"o9":0}}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"base":{"o9":0},"o":{"o0":-7,"o1":-9,"o8":{"o9":0}}}

libfyaml yaml.v3

{"base":{"o9":0},"o":[{"o0":-7},{"o1":-9},{"o8":{"o9":0}}]}

yamlstar

{"base":{"o9":"0o0"},"o":[{"o0":-7},{"o1":-9},{"o8":{"o9":"0o0"}}]}

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: 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: 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.