generated/2590

sha256 a3619b7d239157658b9386c0f6872a982a1e3893cc319d62440390c2d15edf64

Document

%YAML 1.1
---
# c1
-0.0: TRUE # c2

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf presentation/comment-above presentation/comment-inline presentation/document-marker presentation/plain presentation/yaml-directive value/bool value/mapping value/non-string-key
meaning (yaml-1.2-core){"0.0":true}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml yamlstar

{"0.0":true}

libfyaml

{"-0.0":true}

yaml.v3



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept diff n/i
yamlstar accepted accept ok n/i
yaml.v3 accepted accept different, explained different
document 0

written

-0: true

read back

{"0":true}
value: json-cannot-write: yaml.v3 decodes a mapping with a key that is not a string into a map[any]any, which encoding/json cannot write, so the runner has no value for the document: "-0.0: true"
go-yaml accepted accept ok same

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