shape/schema/0b1010

sha256 27d60b1c8fa4bce4a3c19ef91c967b278501b7f86e77ae4701418da86478b20f

Document

k: 0b1010

Corpus

grammarvalid, vouched for up to construct
schema/int-binaryopen from construct on: each parser's stance decides
featuresnone
meaning (yaml-1.2-core){"k":"0b1010"}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml yamlstar

{"k":"0b1010"}

yaml.v3

{"k":10}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept ok n/i
yaml.v3 accepted accept different, explained same value: int-binary: yaml.v3 reads 0b1010 as the integer 10, as YAML 1.1 does, where the core schema keeps it a string
go-yaml accepted accept ok same

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