generated/2544

sha256 3eff5e996a4bf5a32afdbc74426469ea4c2bbb04f56805847d28b109ab1cf09e

Document

%TAG !x! tag:yaml.org,2002:
---
{"o": !x!omap ["o0": -5], "p": !x!pairs ["p0": 0x1, "p0": 0x2], "s": !x!set {"s0": null}} # c1

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/cr node/tag-handle presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/number-hex presentation/plain presentation/quoted-double presentation/tag-directive value/int value/mapping value/null value/sequence
meaning (yaml-1.2-core){"o":{"o0":-5},"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"o":{"o0":-5},"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}

libfyaml yaml.v3

{"o":[{"o0":-5}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null}}

yamlstar

{"o":[{"o0":-5}],"p":[{"p0":"0x1"},{"p0":"0x2"}],"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: 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.