generated/2791

sha256 8ac566786b98f54bf147d7a622f9da827e3ff6664bb99bb2f1304d851124034f

Document

{"\u0023\u0047\u0023\u0032": ~, &a1 "\u002B\u0030\u0062\u0031\u0031": [True, {!!str "\u004E\u0067": 1.3e-348}]} # c1

Corpus

grammarvalid, vouched for up to construct
representation/float-out-of-rangeopen from construct on: each parser's stance decides
featuresbreak/crlf node/anchor node/tag-shorthand presentation/comment-inline presentation/escape-unicode presentation/flow-collection presentation/plain presentation/quoted-double value/big-float value/bool value/mapping value/non-string-key value/null value/sequence
meaning (yaml-1.2-core){"#G#2":null,"+0b11":[true,{"Ng":1.3e-348}]}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"#G#2":null,"+0b11":[true,{"Ng":0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013}]}

libfyaml

{"#G#2":null,"+0b11":[true,{"Ng":"1.3e-348"}]}

yaml.v3

{"#G#2":null,"+0b11":[true,{"Ng":0}]}

yamlstar

{"35713550":null,"4348984949":[true,{"78103":0}]}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: float-past-double-as-text: the Python binding returns a float past a double's range as a string, "-9.948e-328"
yamlstar accepted accept different, explained n/i value: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597"
yaml.v3 accepted accept different, explained different
document 0

written

'#G#2': null
"+0b11":
    - true
    - Ng: 0

read back

{"#G#2":null,"+0b11":[true,{"Ng":0}]}
value: float-past-float64: a float too small for a float64 decodes as 0, and one too large is left a string, because yaml.v3 does not resolve it to a float: 9.999e+442 comes back as "9.999e+442"
go-yaml accepted accept ok same

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