generated/319

sha256 51990c8821d5207467b25965947520cea456e691cf9a2a7a667776e04bc75970

Document

%YAML 1.1
---
? TRUE
: # c1
 - 03324443133035371040720462022442217356534724073001 # c2
 - # c3
  ? !foo "\U0001F638\U0001F334"
  : null # c4
 - # c5
  ? "\U00000306\U00000000"
  : # c6
   ? "\U00000022"
   : "\U0000005C\U00000100\U00000020\U0000000A\U000001D9\U00000009" # c7
   ? "\U00000065\U00000301"
   : -979.4835916624767 # c8
 - FALSE # c9

Corpus

grammarvalid, vouched for up to construct
representation/integer-wideopen from construct on: each parser's stance decides
featuresbreak/cr node/tag-local presentation/comment-inline presentation/document-marker presentation/escape-long presentation/explicit-key presentation/plain presentation/quoted-double presentation/yaml-directive value/big-int value/bool value/float value/mapping value/non-string-key value/null value/sequence value/string
meaning (yaml-1.2-core){"true":[76160908576089307189016725714130163421181441,{"😸🌴":null},{"̆\u0000":{"\"":"\\Ā \nǙ\t","é":-979.4835916624767}},false]}

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value split

go-yaml

{"true":[76160908576089307189016725714130163421181441,{"😸🌴":null},{"̆\u0000":{"\"":"\\Ā \nǙ\t","é":-979.4835916624767}},false]}

libfyaml

{"true":["03324443133035371040720462022442217356534724073001",{"😸🌴":null},{"̆\u0000":{"\"":"\\Ā \nǙ\t","é":-979.4835916624767}},false]}

yaml.v3



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: wide-integer-as-text: the Python binding returns an integer past 64 bits as a string: -803850883125972097111 comes back as "-803850883125972097111"
yamlstar rejected, explained refuse by the loader rejected, explained n/i integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal
value: integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal
Error: YAML integer out of supported range: 03324443133035371040720462022442217356534724073001. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string.
yaml.v3 accepted accept different, explained different
document 0

written

true:
    - 3.324443133035371e+48
    - "\U0001F638\U0001F334": null
    - "̆\0":
        '"': "\\Ā \nǙ\t"
        é: -979.4835916624767
    - false

read back

map[interface {}]interface {}{true:[]interface {}{3.324443133035371e+48, map[string]interface {}{"😸🌴":interface {}(nil)}, map[string]interface {}{"̆\x00":map[string]interface {}{"\"":"\\Ā \nǙ\t", "é":-979.4835916624767}}, false}}
value: wide-integer-as-float64: an integer past uint64 decodes into a float64, which keeps about 17 significant digits: -803850883125972097111 comes back as -803850883125972000000
go-yaml accepted accept ok same

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